From e446d42e4f892eb1f2e9fb161b489a64b3e8e249 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Fri, 23 Jun 2006 22:05:39 +0000 Subject: [PATCH] =?UTF-8?q?make=20sure=20we=20have=20a=20bookmarks=20toolb?= =?UTF-8?q?ar=20before=20we=20try=20to=20rebuild=20it=20bug=20342245=20pat?= =?UTF-8?q?ch=20by=20Simon=20B=C3=83=C2=BCnzli=20r=3Dmyk=20a=3Dmconnor=20o?= =?UTF-8?q?n=20behalf=20of=20drivers=20for=201.8=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200743 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/microsummaries/src/nsMicrosummaryService.js.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/browser/components/microsummaries/src/nsMicrosummaryService.js.in b/mozilla/browser/components/microsummaries/src/nsMicrosummaryService.js.in index ecc955a00f3..4071a618904 100644 --- a/mozilla/browser/components/microsummaries/src/nsMicrosummaryService.js.in +++ b/mozilla/browser/components/microsummaries/src/nsMicrosummaryService.js.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");