Bug 1152104 - use command event and delegate clicks to it, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 08 Apr 2015 15:54:53 +0100
changeset 238449 f610b8d267ed
parent 238348 87f15ce8266d
child 238450 6be66458eff4
push id28565
push userryanvm@gmail.com
push dateFri, 10 Apr 2015 02:58:13 +0000
treeherdermozilla-central@fec90cbfbaad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1152104
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1152104 - use command event and delegate clicks to it, r=jaws
browser/base/content/browser-context.inc
--- a/browser/base/content/browser-context.inc
+++ b/browser/base/content/browser-context.inc
@@ -416,9 +416,10 @@
                 accesskey="&inspectContextMenu.accesskey;"
                 oncommand="gContextMenu.inspectNode();"/>
       <menuseparator id="context-media-eme-separator" hidden="true"/>
       <menuitem id="context-media-eme-learnmore"
                 class="menuitem-iconic"
                 hidden="true"
                 label="&emeLearnMoreContextMenu.label;"
                 accesskey="&emeLearnMoreContextMenu.accesskey;"
-                onclick="gContextMenu.drmLearnMore(event);"/>
+                oncommand="gContextMenu.drmLearnMore(event);"
+                onclick="checkForMiddleClick(this, event);"/>