From 2d512a8cc312450f51e5b2d062639415049d2448 Mon Sep 17 00:00:00 2001 From: "Olli.Pettay%helsinki.fi" Date: Sun, 23 Mar 2008 11:29:24 +0000 Subject: [PATCH] Bug 424444, Sidebar bookmarks folders do not expand when reopening the sidebar, r+a1.9=mconnor git-svn-id: svn://10.0.0.236/trunk@248447 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/base/content/browser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index 8a048308abb..0124847807a 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -2437,6 +2437,7 @@ function toggleAffectedChrome(aHide) gChromeState.notificationsOpen = !notificationBox.notificationsHidden; notificationBox.notificationsHidden = aHide; + document.getElementById("sidebar").setAttribute("src", "about:blank"); var statusbar = document.getElementById("status-bar"); gChromeState.statusbarOpen = !statusbar.hidden; statusbar.hidden = aHide; @@ -4497,6 +4498,7 @@ function toggleSidebar(commandID, forceOpen) { sidebarBroadcaster.removeAttribute("checked"); sidebarBox.setAttribute("sidebarcommand", ""); sidebarTitle.value = ""; + sidebar.setAttribute("src", "about:blank"); sidebarBox.hidden = true; sidebarSplitter.hidden = true; content.focus();