Bug 430943: Add-ons manager displays Get Add-ons pane even when disabled. r=robstrong

This commit is contained in:
Dave Townsend 2008-08-26 09:44:52 +01:00
parent 47f4cc0c76
commit 65b5d5a21b

View File

@ -1161,7 +1161,7 @@ function Startup()
!document.getElementById(viewGroup.getAttribute("last-selected") + "-view").hidden)
showView(viewGroup.getAttribute("last-selected"));
else
showView("search");
showView(gShowGetAddonsPane ? "search" : "extensions");
if (gExtensionsView.selectedItem)
gExtensionsView.scrollBoxObject.scrollToElement(gExtensionsView.selectedItem);