зеркало из https://github.com/mozilla/gecko-dev.git
use preference for browser chrome url (aka navigator.xul). bug 31867
This commit is contained in:
Родитель
e348f62e8b
Коммит
0f8a88bb8e
|
@ -92,6 +92,6 @@ function OpenURL(event, node)
|
|||
}
|
||||
|
||||
// window.open(url,'history');
|
||||
window.openDialog( "chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", url ); // get right sized window
|
||||
window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url ); // get right sized window
|
||||
return(true);
|
||||
}
|
||||
|
|
|
@ -775,7 +775,7 @@ function sidebarOpenURL(event, treeitem, root)
|
|||
if ( window.content )
|
||||
window.content.location = id;
|
||||
else {
|
||||
window.openDialog( "chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", id );
|
||||
window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", id );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче