Bug 1428082 - do not bubble up command execution in appmenu_addonPrefs popup. r=jorgk a=jorgk
authoraceman <acelists@atlas.sk>
Wed, 07 Feb 2018 09:24:00 +0100
changeset 30067 02150efe0d6713d7bcb54b11c6c54b91498146a3
parent 30066 fe93b7f229096eddc8abad282061b3c27d23150a
child 30068 8608e5bbbaf69df69869668b8af876d645a2ac98
push id2121
push usermozilla@jorgk.com
push dateFri, 09 Feb 2018 22:37:33 +0000
treeherdercomm-beta@5531b31dc93b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk, jorgk
bugs1428082
Bug 1428082 - do not bubble up command execution in appmenu_addonPrefs popup. r=jorgk a=jorgk
mail/base/content/mailWindowOverlay.xul
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -1350,17 +1350,17 @@
         <spacer class="appmenuPane-spacer"/>
         <splitmenu id="appmenu_addons"
                    class="menuitem-iconic"
                    label="&addons.label;"
                    oncommand="openAddonsMgr();">
           <menupopup id="appmenu_addonPrefs"
                      onpopupshowing="initAddonPrefsMenu(this);"
                      oncommand="openAddonPrefs(event.target.value, event.target.getAttribute('optionsType'));">
-            <menuitem label="&addons.label;" oncommand="openAddonsMgr();"/>
+            <menuitem label="&addons.label;" oncommand="openAddonsMgr(); event.stopPropagation();"/>
             <menuseparator class="appmenu-menuseparator"/>
             <menuitem label="&addonNoPrefs.label;" disabled="true"/>
           </menupopup>
         </splitmenu>
         <splitmenu id="appmenu_customize"
 #ifdef XP_WIN
                    label="&preferencesCmd2.label;"
 #else