зеркало из https://github.com/mozilla/gecko-dev.git
Fixed Open Location dialog for Composer, b=122933, r=brade, sr=hewitt
This commit is contained in:
Родитель
5d7d0e9631
Коммит
f282436edc
|
@ -108,9 +108,10 @@ function open()
|
|||
window.opener.delayedOpenWindow(getBrowserURL(), "all,dialog=no", url);
|
||||
break;
|
||||
case "2":
|
||||
// editPage is in utilityOverlay.js (all editor openers with URL should use this)
|
||||
// editPage is in editorApplicationOverlay.js
|
||||
// 3rd param tells editPage to use "delayedOpenWindow"
|
||||
editPage(url, window.opener, true);
|
||||
if ("editPage" in window.opener)
|
||||
window.opener.editPage(url, window.opener, true);
|
||||
break;
|
||||
case "3":
|
||||
if (browser.getBrowser && browser.getBrowser().localName == "tabbrowser")
|
||||
|
|
Загрузка…
Ссылка в новой задаче