mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
fix for bug 27413 by using openDialog. r=ben
This commit is contained in:
parent
56f2be9125
commit
e43412197e
@ -123,10 +123,8 @@ function goAboutDialog()
|
||||
}
|
||||
if( defaultAboutState )
|
||||
window.openDialog("chrome:global/content/about.xul", "About", "modal,chrome,resizable=yes,height=450,width=550");
|
||||
else if( appCore )
|
||||
appCore.loadUrl( "chrome://global/content/about.html" );
|
||||
else
|
||||
window.open( "chrome://global/content/about.html", "_blank" );
|
||||
else
|
||||
window.openDialog( "chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", 'chrome://global/content/about.html' );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user