Bug 424444, Sidebar bookmarks folders do not expand when reopening the sidebar, r+a1.9=mconnor

This commit is contained in:
2008-03-23 04:29:24 -07:00
parent 036611fcee
commit abb222c1f1

View File

@@ -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();