[Pkg-mozext-commits] [requestpolicy] 29/80: remove dead code

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:26 UTC 2015


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

taffit pushed a commit to branch master
in repository requestpolicy.

commit 62c4e650422064747af2325472ca7be0abe5ccf4
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue May 12 03:15:44 2015 +0200

    remove dead code
    
    "rp-rule-options" has been removed in commit 8fa9e30 (Feb 2012).
---
 src/content/ui/menu.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/content/ui/menu.js b/src/content/ui/menu.js
index 93ae62e..8d1ce36 100644
--- a/src/content/ui/menu.js
+++ b/src/content/ui/menu.js
@@ -553,8 +553,7 @@ requestpolicy.menu = (function() {
                item.parentNode.id == 'rpc-mixed-destinations-list' ||
                item.parentNode.id == 'rpc-allowed-destinations-list') {
       self._activateDestinationItem(item);
-    } else if (item.parentNode.id == 'rp-rule-options' ||
-               item.parentNode.id == 'rpc-rules-remove' ||
+    } else if (item.parentNode.id == 'rpc-rules-remove' ||
                item.parentNode.id == 'rpc-rules-add') {
       self._processRuleSelection(item);
     } else {

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



More information about the Pkg-mozext-commits mailing list