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:
blakeross%telocity.com 2006-07-29 05:35:35 +00:00
Родитель 202f7f072e
Коммит 18e9754d76
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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.