Bug 687754 - Only set unread when busy is removed. r=dao

This commit is contained in:
Len 2011-10-08 10:33:45 +02:00
parent b437c3941a
commit 8e9865b871

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;