[Pkg-mozext-commits] [requestpolicy] 181/280: fix bug with "Extension Options Menu"

David Prévot taffit at moszumanska.debian.org
Sat May 2 20:30:21 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 25a61e0ae9896b1a3941d0d1e76072bb5202b48d
Author: Martin Kimmerle <dev at 256k.de>
Date:   Sun Jan 25 22:17:50 2015 +0100

    fix bug with "Extension Options Menu"
    
    there was a bug with "Extension Options Menu":
    https://addons.mozilla.org/en-US/firefox/addon/extension-options-menu/
---
 src/content/settings/common.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/content/settings/common.js b/src/content/settings/common.js
index 7054eee..0919023 100644
--- a/src/content/settings/common.js
+++ b/src/content/settings/common.js
@@ -21,13 +21,13 @@ ScriptLoader.importModules([
 // create a new Environment for this window
 var WinEnv = new Environment(ProcessEnvironment, "WinEnv");
 // The Environment has to be shut down when the content window gets unloaded.
-WinEnv.shutdownOnUnload(content);
+WinEnv.shutdownOnUnload(window);
 // start up right now, as there won't be any startup functions
 WinEnv.startup();
 var elManager = WinEnv.elManager;
 
 
-var $id = content.document.getElementById.bind(content.document);
+var $id = window.document.getElementById.bind(window.document);
 
 
 var COMMON_STRINGS = [

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