Bug 537474 - nsIBrowserDOMWindow.OPEN_CURRENTWINDOW implementation is broken. r=typo

This commit is contained in:
Dão Gottwald 2010-01-02 09:28:09 +01:00
Родитель 8acb9d0a33
Коммит 5a10ea27ab
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -4463,7 +4463,7 @@ nsBrowserAccess.prototype = {
newWindow = content;
if (aURI) {
let referrer = aOpener ? makeURI(aOpener.location.href) : null;
gBrowser.loadURIWithFlag(aURI.spec, loadflags, referrer, null, null);
gBrowser.loadURIWithFlags(aURI.spec, loadflags, referrer, null, null);
}
if (!gPrefService.getBoolPref("browser.tabs.loadDivertedInBackground"))
content.focus();