Bug 120993: URL bar is cleared when a page is loaded in a new tab. r=bzbarsky, sr=ben

git-svn-id: svn://10.0.0.236/trunk@112615 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jaggernaut%netscape.com 2002-01-24 01:36:01 +00:00
parent 60208b116d
commit 5020696994

View File

@ -295,8 +295,11 @@ nsBrowserStatusHandler.prototype =
var domWindow = aWebProgress.DOMWindow;
if (domWindow == domWindow.top) {
if (!this.userTyped.value)
if (!this.userTyped.value) {
this.urlBar.value = location;
// the above causes userTyped.value to become true, reset it
this.userTyped.value = false;
}
SetPageProxyState("valid", aLocation);
}