Added "_blank" to window.open as per danm's notification.

This commit is contained in:
hangas%netscape.com 1999-09-16 00:58:50 +00:00
parent 0e6cf27eda
commit 6dc38f96d8

View File

@ -55,7 +55,7 @@ function toOpenWindowByType( inType, uri )
if ( topWindow )
topWindow.focus();
else
window.open(uri, "", "chrome,menubar,toolbar,resizable");
window.open(uri, "_blank", "chrome,menubar,toolbar,resizable");
}
function CycleWindow( inType, inChromeURL )
@ -75,7 +75,7 @@ function CycleWindow( inType, inChromeURL )
if ( topWindowOfType == null )
{
dump( " no windows of this type so create a new one \n");
window.open( inChromeURL, "","chrome,menubar,toolbar,location,status,resizable" );
window.open(inChromeURL, "_blank", "chrome,menubar,toolbar,location,status,resizable");
return;
}
@ -118,7 +118,7 @@ function CycleWindow( inType, inChromeURL )
else
{
dump("open window \n");
window.open( inChromeURL, "","chrome,menubar,toolbar,location,status,resizable" );
window.open( inChromeURL, "_blank","chrome,menubar,toolbar,location,status,resizable" );
}
}