mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 591151 - Allow auto edit-mode on key press when awesomescreen is open, but readonly [r=vingtetun]
This commit is contained in:
parent
036f64257d
commit
81a9c17bc2
@ -29,9 +29,12 @@
|
||||
</method>
|
||||
</implementation>
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_RETURN" phase="capturing">
|
||||
<handler event="keypress" phase="capturing">
|
||||
<![CDATA[
|
||||
setTimeout(function() { BrowserUI.activePanel = null }, 0);
|
||||
if (event.keyCode == event.DOM_VK_RETURN)
|
||||
setTimeout(function() { BrowserUI.activePanel = null }, 0);
|
||||
else if (this.readOnly)
|
||||
this.readOnly = false;
|
||||
]]>
|
||||
</handler>
|
||||
<handler event="text" phase="bubbling"
|
||||
|
Loading…
Reference in New Issue
Block a user