39089 Changed - 2nd browser window is tiny

fixing *two* browser window issue
This commit is contained in:
jbetak%netscape.com 2000-05-12 19:27:07 +00:00
parent b21a2a4d57
commit ceaef62f27

View File

@ -113,18 +113,23 @@ function OpenBrowserWindow()
if (appCore != null) {
try {
var DocCharset = appCore.GetDocumentCharset();
charsetArg = "charset="+DocCharset;
dump("*** Current document charset: " + DocCharset + "\n");
window.openDialog(url, "_blank", "chrome,all,dialog=no", startpage, charsetArg);
}
try
{
var DocCharset = appCore.GetDocumentCharset();
charsetArg = "charset="+DocCharset;
dump("*** Current document charset: " + DocCharset + "\n");
window.openDialog(url, "_blank", "chrome,all,dialog=no", startpage, charsetArg);
}
catch(ex) {
dump("*** failed to read document charset \n");
catch(ex)
{
dump("*** failed to read document charset \n");
}
}
window.openDialog(url, "_blank", "chrome,all,dialog=no", startpage);
} else {
window.openDialog(url, "_blank", "chrome,all,dialog=no", startpage);
}
}