mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
d1a3b2d08b
commit
510edd5e1d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user