Bug 347841 - Rebuild selected view after hiding / unhiding elements in the mgr. r=sspitzer

git-svn-id: svn://10.0.0.236/trunk@206812 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rob_strong%exchangecode.com 2006-08-08 08:56:26 +00:00
parent fe750b8816
commit 2dde4fea67

View File

@ -316,11 +316,6 @@ function showView(aView) {
break;
}
AddonsViewBuilder.updateView(types, "richlistitem", bindingList, null);
if (aView == "updates" || aView == "installs")
gExtensionsView.selectedItem = gExtensionsView.children[0];
var isThemes = aView == "themes";
var getMore = document.getElementById("getMore");
@ -361,6 +356,11 @@ function showView(aView) {
document.getElementById("themePreviewArea").hidden = !isThemes;
document.getElementById("themeSplitter").hidden = !isThemes;
AddonsViewBuilder.updateView(types, "richlistitem", bindingList, null);
if (aView == "updates" || aView == "installs")
gExtensionsView.selectedItem = gExtensionsView.children[0];
if (showSkip) {
var button = document.getElementById("installUpdatesAllButton");
button.setAttribute("default", "true");