mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Fix problem bringing up browser window
This commit is contained in:
parent
e339f2e165
commit
a630458576
@ -119,7 +119,7 @@ function EditorNewPlaintext()
|
||||
|
||||
function EditorNewBrowser()
|
||||
{
|
||||
dump("In EditorNewPlaintext..\n");
|
||||
dump("In EditorNewBrowser..\n");
|
||||
|
||||
core = XPAppCoresManager.Find("toolkitCore");
|
||||
if ( !core ) {
|
||||
@ -129,7 +129,7 @@ function EditorNewBrowser()
|
||||
}
|
||||
}
|
||||
if ( core ) {
|
||||
core.ShowWindowWithArgs( "chrome://navigator/", window, "" );
|
||||
core.ShowWindowWithArgs( "chrome://navigator/content/navigator.xul", window, "" );
|
||||
} else {
|
||||
dump("Error; can't create toolkitCore\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user