[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 355/483: Topic 9020 - Fixed: Element Hiding Helper cannot be started from the Tools menu

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:56 UTC 2015


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

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 13dab870b3d9fd54d8ddd4aaf3dfea2abb5d894f
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Tue Dec 20 13:45:20 2011 +0100

    Topic 9020 - Fixed: Element Hiding Helper cannot be started from the Tools menu
---
 modules/AppIntegration.jsm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/AppIntegration.jsm b/modules/AppIntegration.jsm
index e8c630c..b73c55c 100644
--- a/modules/AppIntegration.jsm
+++ b/modules/AppIntegration.jsm
@@ -269,7 +269,7 @@ WindowWrapper.prototype =
   fillPopup: function(event)
   {
     // Submenu being opened - ignore
-    if (!/^(abp-(?:toolbar|status)-)popup$/.test(event.target.getAttribute("id")))
+    if (!/^(abp-(?:toolbar|status|menuitem)-)popup$/.test(event.target.getAttribute("id")))
       return;
     let prefix = RegExp.$1;
   
@@ -303,6 +303,7 @@ WindowWrapper.prototype =
 WindowWrapper.prototype.eventHandlers = [
   ["abp-status-popup", "popupshowing", WindowWrapper.prototype.fillPopup],
   ["abp-toolbar-popup", "popupshowing", WindowWrapper.prototype.fillPopup],
+  ["abp-menuitem-popup", "popupshowing", WindowWrapper.prototype.fillPopup],
   ["ehh-command-selectelement", "command", WindowWrapper.prototype.toggleSelection],
   ["ehh-command-selectelement2", "command", WindowWrapper.prototype.toggleSelection],
 ];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list