[Pkg-mozext-commits] [tabmixplus] 17/23: Menu Wizard extension version 4.02 dispatch popupshowing event for tabContextMenu and contentAreaContextMenu

David Prévot taffit at moszumanska.debian.org
Wed Feb 17 18:34:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 08e114495a41979332f67a5692818dcd0d96557b
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Feb 16 17:41:08 2016 +0200

    Menu Wizard extension version 4.02 dispatch popupshowing event for tabContextMenu and contentAreaContextMenu
---
 chrome/content/click/click.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/chrome/content/click/click.js b/chrome/content/click/click.js
index 1ce811d..f0047d7 100644
--- a/chrome/content/click/click.js
+++ b/chrome/content/click/click.js
@@ -390,6 +390,9 @@ var TabmixContext = {
     let id = aEvent.target.id;
     switch (aEvent.type) {
       case "popupshowing":
+        if (aEvent.target.state != "showing") {
+          return;
+        }
         if (id == "tabContextMenu")
           this.updateTabContextMenu(aEvent);
         else if (id == "contentAreaContextMenu")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list