зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b19731b935
Коммит
1382cb605c
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче