Stop "about:blank" from being loaded twice at startup and get rid of a reload at startup accidentily added a while back. bug=72342, r=hwaara, sr=hyatt

This commit is contained in:
disttsc%bart.nl 2001-03-19 21:52:33 +00:00
parent 6c9de3f44a
commit 8673dbea09

View File

@ -471,7 +471,7 @@ function Startup()
var arrayArgComponents = window.arguments[1].split("=");
if (arrayArgComponents) {
//we should "inherit" the charset menu setting in a new window
BrowserSetDefaultCharacterSet(arrayArgComponents[1]);
appCore.setDefaultCharacterSet(arrayArgComponents[1]); //XXXjag see bug 67442
}
}
}
@ -528,7 +528,7 @@ function Startup()
startPage = window.arguments[0];
}
if (startPage)
if (startPage && startPage != "about:blank")
loadURI(startPage);
// Focus the content area if the caller instructed us to.