зеркало из https://github.com/mozilla/pjs.git
use preference for browser chrome url (aka navigator.xul). bug 31867
This commit is contained in:
Родитель
d36785c9da
Коммит
2bd14d1c12
|
@ -656,7 +656,7 @@ function Shutdown()
|
|||
// Check if we have a browser window
|
||||
if ( window.content == null )
|
||||
{
|
||||
window.openDialog( "chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", url );
|
||||
window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -833,7 +833,7 @@ function RevealSearchPanel()
|
|||
}
|
||||
|
||||
function openNewWindowWith( url ) {
|
||||
var newWin = window.openDialog( "chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", url );
|
||||
var newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url );
|
||||
|
||||
// Fix new window.
|
||||
newWin.saveFileAndPos = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче