[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 250/483: Fixed: Menu item not marked as disabled in latest build (should disable command, not the menu item)

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:46 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 8dcd70a700bd5ac5400918516116976ea56b8b75
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Tue Oct 26 08:14:35 2010 +0200

    Fixed: Menu item not marked as disabled in latest build (should disable command, not the menu item)
---
 modules/AppIntegration.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/AppIntegration.jsm b/modules/AppIntegration.jsm
index 298c5c5..caa52ba 100644
--- a/modules/AppIntegration.jsm
+++ b/modules/AppIntegration.jsm
@@ -284,7 +284,7 @@ WindowWrapper.prototype =
     let enabled = Aardvark.canSelect(this.browser);
     let running = (enabled && this.browser == Aardvark.browser);
   
-    this.E(prefix + "ehh-selectelement").setAttribute("disabled", !enabled);
+    this.E("ehh-command-selectelement").setAttribute("disabled", !enabled);
     this.E(prefix + "ehh-selectelement").hidden = running;
     this.E(prefix + "ehh-stopselection").hidden = !running;
   },

-- 
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