mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Merge contextmenu handlers (as per branch patch for bug 301873 r=mconnor) sr=jag
This commit is contained in:
parent
fa8d4c7eb2
commit
ad474586ca
@ -13,11 +13,10 @@
|
||||
|
||||
<binding id="scrollbar-base">
|
||||
<handlers>
|
||||
<handler event="contextmenu" preventdefault="true"/>
|
||||
<handler event="contextmenu" preventdefault="true" action="event.preventBubble();"/>
|
||||
<handler event="click" preventdefault="true" action="event.preventBubble();"/>
|
||||
<handler event="dblclick" action="event.preventBubble();"/>
|
||||
<handler event="command" action="event.preventBubble();"/>
|
||||
<handler event="contextmenu" action="event.preventBubble();"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
@ -13,11 +13,10 @@
|
||||
|
||||
<binding id="scrollbar-base">
|
||||
<handlers>
|
||||
<handler event="contextmenu" preventdefault="true"/>
|
||||
<handler event="contextmenu" preventdefault="true" action="event.preventBubble();"/>
|
||||
<handler event="click" preventdefault="true" action="event.preventBubble();"/>
|
||||
<handler event="dblclick" action="event.preventBubble();"/>
|
||||
<handler event="command" action="event.preventBubble();"/>
|
||||
<handler event="contextmenu" action="event.preventBubble();"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user