when disclosing the tree, the bookmarks root folder should always be open.

Typo in bookmarksManager.js
This commit is contained in:
chanial%noos.fr 2003-12-15 00:55:22 +00:00
Родитель 113d9d8d21
Коммит 0d0df1c396
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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);
}