make sure we have a bookmarks toolbar before we try to rebuild it
bug 342245 patch by Simon Bünzli r=myk a=mconnor on behalf of drivers for 1.8 branch git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -688,7 +688,8 @@ MicrosummaryService.prototype = {
|
||||
|
||||
// rebuild the bookmarks toolbar
|
||||
var bookmarksToolbar = win.document.getElementById("bookmarks-ptf");
|
||||
bookmarksToolbar.builder.rebuild();
|
||||
if (bookmarksToolbar)
|
||||
bookmarksToolbar.builder.rebuild();
|
||||
|
||||
// rebuild the bookmarks sidebar
|
||||
var sidebar = win.document.getElementById("sidebar");
|
||||
|
||||
Reference in New Issue
Block a user