[Pkg-mozext-commits] [requestpolicy] 44/280: completely remove rulesChangedObserver, see commit fbc365c

David Prévot taffit at moszumanska.debian.org
Sat May 2 20:29:58 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 3cf83c94b74bd6e49dbe36bd0467d8b4deddfb51
Author: Martin Kimmerle <dev at 256k.de>
Date:   Fri Dec 5 03:19:33 2014 +0100

    completely remove rulesChangedObserver, see commit fbc365c
---
 src/content/settings/yourpolicy.js | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/content/settings/yourpolicy.js b/src/content/settings/yourpolicy.js
index f33491e..a8bf84b 100644
--- a/src/content/settings/yourpolicy.js
+++ b/src/content/settings/yourpolicy.js
@@ -32,8 +32,6 @@ const SEARCH_DELAY = 100;
 
 var searchTimeoutId = null;
 
-var rulesChangedObserver = null;
-
 function populateRuleTable(filter) {
   searchTimeoutId = null;
 
@@ -237,8 +235,4 @@ function onload() {
         var search = document.getElementById('rulesearch');
         populateRuleTable(search.value);
       });
-
-  window.addEventListener("beforeunload", function(event) {
-    rulesChangedObserver.unregister();
-  });
 }

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