Bug 99009: Fix annoying and long standing window status bug. r=caillon, sr=jst

git-svn-id: svn://10.0.0.236/trunk@210999 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jaggernaut%netscape.com
2006-09-14 06:01:35 +00:00
parent 5974ceffef
commit 5ea7b85e65

View File

@@ -129,8 +129,6 @@ nsBrowserStatusHandler.prototype =
{
this.jsStatus = status;
this.updateStatusField();
// set empty so defaults show up next change
this.jsStatus = "";
},
setJSDefaultStatus : function(status)
@@ -155,7 +153,7 @@ nsBrowserStatusHandler.prototype =
updateStatusField : function()
{
var text = this.overLink || this.status || this.jsStatus || this.jsDefaultStatus || this.defaultStatus;
var text = this.jsStatus || this.overLink || this.status || this.jsDefaultStatus || this.defaultStatus;
// check the current value so we don't trigger an attribute change
// and cause needless (slow!) UI updates