зеркало из https://github.com/mozilla/gecko-dev.git
when disclosing the tree, the bookmarks root folder should always be open.
Typo in bookmarksManager.js
This commit is contained in:
Родитель
113d9d8d21
Коммит
0d0df1c396
|
@ -200,6 +200,9 @@ function expandTree()
|
|||
else {
|
||||
document.documentElement.buttons = "accept,cancel,extra2";
|
||||
gBookmarksTree.focus();
|
||||
# always open the bookmark root folder
|
||||
if (!gBookmarksTree.treeBoxObject.view.isContainerOpen(0))
|
||||
gBookmarksTree.treeBoxObject.view.toggleOpenState(0);
|
||||
}
|
||||
gBookmarksTree.collapsed = willCollapse;
|
||||
sizeToContent();
|
||||
|
|
|
@ -52,7 +52,7 @@ function Startup()
|
|||
}
|
||||
else {
|
||||
titleString = BookmarksUtils.getLocaleString("bookmarks_title", title);
|
||||
// always open the bookmark top root folder
|
||||
// always open the bookmark root folder
|
||||
if (!bookmarksView.treeBoxObject.view.isContainerOpen(0))
|
||||
bookmarksView.treeBoxObject.view.toggleOpenState(0);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче