Bug 473444 - Help opens, but with a beep with cmd+? in prefwindow without overlayed/own key (this also makes us only open 1 help instance on mac from the prefwindow). r=gavin.

This commit is contained in:
stefanh@inbox.com 2009-01-17 15:21:51 +01:00
Родитель 2831ff49d3
Коммит ecd5a50176
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -1117,7 +1117,14 @@
keycode="&openHelp.commandkey;"
#endif
phase="capturing">
<![CDATA[
var helpButton = document.documentElement.getButton("help");
if (helpButton.disabled || helpButton.hidden)
return;
this._fireEvent("dialoghelp", this);
event.stopPropagation();
event.preventDefault();
]]>
</handler>
</handlers>
</binding>