зеркало из https://github.com/mozilla/gecko-dev.git
The content area, not the urlbar, should be focused when you open links in new windows (53549). r=saari,timeless sr=alecf
This commit is contained in:
Родитель
202f7f072e
Коммит
18e9754d76
|
@ -69,10 +69,10 @@
|
|||
var charsetArg = "charset="+DocCharset;
|
||||
|
||||
//we should "inherit" the charset menu setting in a new window
|
||||
newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url, charsetArg );
|
||||
newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url, charsetArg, true );
|
||||
}
|
||||
else { // forget about the charset information.
|
||||
newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url );
|
||||
newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url, null, true );
|
||||
}
|
||||
|
||||
// Fix new window.
|
||||
|
|
Загрузка…
Ссылка в новой задаче