Backed out changeset 0eacb6c66396 (contained typo that breaks all of desktop Firefox)

This commit is contained in:
Dão Gottwald 2011-09-27 18:31:09 +02:00
parent 31420756e1
commit f2634062dd

View File

@ -566,10 +566,10 @@
if (this.mTab.hasAttribute("busy")) {
this.mTab.removeAttribute("busy");
this.mTabBrowser._tabAttrModified(this.mTab);
if (!this.mTab.selected) {
this.mTab.setAttribute("unread", "true");
}
this.mTab.removeAttribute("progress");
if (!this.mTab.selected)
this.mTab.setAttribute("unread", "true");
var location = aRequest.QueryInterface(nsIChannel).URI;
@ -876,8 +876,7 @@
(window.windowState != window.STATE_MINIMIZED);
this.mCurrentBrowser = newBrowser;
this.mCurrentTab = this.selectedTab;
if (!this._previewMode)
this.mCurrentTab.removeAttribute("unread");
this.mCurrentTab.removeAttribute("unread");
this.showTab(this.mCurrentTab);
if (updatePageReport)