fix bug 170157: bookmarks should be read regardless of the bookmark toolbar being visible or not.
git-svn-id: svn://10.0.0.236/trunk@130216 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -343,8 +343,10 @@ function delayedStartup(aElt)
|
||||
checkForDefaultBrowser();
|
||||
|
||||
// now load bookmarks after a delay
|
||||
BMSVC.ReadBookmarks();
|
||||
var bt = document.getElementById("bookmarks-toolbar");
|
||||
bt.loadBookmarksCallback();
|
||||
if ("toolbar" in bt)
|
||||
bt.toolbar.builder.rebuild();
|
||||
|
||||
WindowFocusTimerCallback(aElt);
|
||||
|
||||
|
||||
@@ -71,13 +71,6 @@
|
||||
]]></getter>
|
||||
</property>
|
||||
|
||||
<method name="loadBookmarksCallback">
|
||||
<body><![CDATA[
|
||||
BMSVC.ReadBookmarks();
|
||||
this.toolbar.builder.rebuild();
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<field name="_selection"> null</field>
|
||||
<field name="_target"> null</field>
|
||||
<field name="_orientation">null</field>
|
||||
|
||||
Reference in New Issue
Block a user