Bug 624363 - Reloading all tabs does not show progress in List all tabs pop-up. r=dao

This commit is contained in:
ithinc@sohu.com 2011-09-16 19:42:32 +02:00
parent ac9f9bab9d
commit bcbef45863

View File

@ -563,7 +563,10 @@
if (this.mBlank)
this.mBlank = false;
if (this.mTab.hasAttribute("busy")) {
this.mTab.removeAttribute("busy");
this.mTabBrowser._tabAttrModified(this.mTab);
}
this.mTab.removeAttribute("progress");
if (!this.mTab.selected)
this.mTab.setAttribute("unread", "true");
@ -4165,12 +4168,14 @@
<body><![CDATA[
aMenuitem.setAttribute("label", aTab.label);
aMenuitem.setAttribute("crop", aTab.getAttribute("crop"));
aMenuitem.setAttribute("image", aTab.getAttribute("image"));
if (aTab.hasAttribute("busy"))
if (aTab.hasAttribute("busy")) {
aMenuitem.setAttribute("busy", aTab.getAttribute("busy"));
else
aMenuitem.removeAttribute("image");
} else {
aMenuitem.setAttribute("image", aTab.getAttribute("image"));
aMenuitem.removeAttribute("busy");
}
if (aTab.selected)
aMenuitem.setAttribute("selected", "true");