Bug 696716 'Get more search engines' link doesn't work r=IanN

This commit is contained in:
Neil Rashbrook 2013-01-06 20:57:35 +00:00
Родитель 424434e693
Коммит 69cd8f02b4
1 изменённых файлов: 1 добавлений и 20 удалений

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

@ -50,7 +50,7 @@
<xul:menuitem class="open-engine-manager"
anonid="open-engine-manager"
label="&cmd_engineManager.label;"
oncommand="openManager(event);"/>
oncommand="OpenSearchEngineManager();"/>
</xul:menupopup>
</xul:toolbarbutton>
</xul:box>
@ -376,25 +376,6 @@
]]></body>
</method>
<method name="openManager">
<parameter name="aEvent"/>
<body><![CDATA[
var wm =
Components.classes["@mozilla.org/appshell/window-mediator;1"]
.getService(Components.interfaces.nsIWindowMediator);
var window = wm.getMostRecentWindow("Browser:SearchManager");
if (window)
window.focus()
else {
setTimeout(function () {
openDialog("chrome://communicator/content/search/engineManager.xul",
"_blank", "chrome,dialog,modal,centerscreen,resizable");
}, 0);
}
]]></body>
</method>
<method name="selectEngine">
<parameter name="aEvent"/>
<parameter name="isNextEngine"/>