fix bug 170157: bookmarks should be read regardless of the bookmark toolbar being visible or not.

This commit is contained in:
chanial%noos.fr 2002-09-22 17:12:08 +00:00
parent 60a7ef7ed2
commit 9c539a5271
2 changed files with 3 additions and 8 deletions

View File

@ -343,8 +343,10 @@ function delayedStartup(aElt)
checkForDefaultBrowser(); checkForDefaultBrowser();
// now load bookmarks after a delay // now load bookmarks after a delay
BMSVC.ReadBookmarks();
var bt = document.getElementById("bookmarks-toolbar"); var bt = document.getElementById("bookmarks-toolbar");
bt.loadBookmarksCallback(); if ("toolbar" in bt)
bt.toolbar.builder.rebuild();
WindowFocusTimerCallback(aElt); WindowFocusTimerCallback(aElt);

View File

@ -71,13 +71,6 @@
]]></getter> ]]></getter>
</property> </property>
<method name="loadBookmarksCallback">
<body><![CDATA[
BMSVC.ReadBookmarks();
this.toolbar.builder.rebuild();
]]></body>
</method>
<field name="_selection"> null</field> <field name="_selection"> null</field>
<field name="_target"> null</field> <field name="_target"> null</field>
<field name="_orientation">null</field> <field name="_orientation">null</field>