Bug 1190908 - Right click on the sync hamburger menu toolbar button does not open about:preferences#sync anymore. r=markh
authorEdouard Oger <edouard.oger@gmail.com>
Wed, 05 Aug 2015 10:26:00 -0400
changeset 256656 7984b02e12a243b4880b8a6147dce8ed7372681c
parent 256655 71b1b6b80f8fde829f93f157356b5252f6cbffb9
child 256657 55b6658ae0db54a3791f1544abe88016c1d5b6ab
push id29186
push usercbook@mozilla.com
push dateFri, 07 Aug 2015 09:53:22 +0000
treeherdermozilla-central@91de9c670800 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh
bugs1190908
milestone42.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 1190908 - Right click on the sync hamburger menu toolbar button does not open about:preferences#sync anymore. r=markh
browser/components/customizableui/content/panelUI.inc.xul
--- a/browser/components/customizableui/content/panelUI.inc.xul
+++ b/browser/components/customizableui/content/panelUI.inc.xul
@@ -20,17 +20,17 @@
                        oncommand="gMenuButtonUpdateBadge.onMenuPanelCommand(event);"
                        wrap="true"
                        hidden="true"/>
         <hbox id="PanelUI-footer-fxa">
           <hbox id="PanelUI-fxa-status"
                 defaultlabel="&fxaSignIn.label;"
                 signedinTooltiptext="&fxaSignedIn.tooltip;"
                 errorlabel="&fxaSignInError.label;"
-                onclick="gFxAccounts.onMenuPanelCommand();">
+                onclick="if (event.which == 1) gFxAccounts.onMenuPanelCommand();">
             <image id="PanelUI-fxa-avatar"/>
             <toolbarbutton id="PanelUI-fxa-label"
                            fxabrandname="&syncBrand.fxAccount.label;"/>
           </hbox>
           <toolbarseparator/>
           <toolbarbutton id="PanelUI-fxa-icon"
                          oncommand="gSyncUI.doSync();"
                          closemenu="none"/>