[Pkg-mozext-commits] [greasemonkey] 08/35: Update sandbox.js

David Prévot taffit at moszumanska.debian.org
Wed May 20 02:43:36 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit bd4a8effbb5bf9013a202af805263126582620b9
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date:   Sun Apr 19 12:42:04 2015 +0200

    Update sandbox.js
---
 modules/sandbox.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/sandbox.js b/modules/sandbox.js
index 0907f98..8dac5ad 100644
--- a/modules/sandbox.js
+++ b/modules/sandbox.js
@@ -83,8 +83,7 @@ function createSandbox(aScript, aScriptRunner, aMessageManager) {
   }
 
   if (GM_util.inArray(aScript.grants, 'GM_registerMenuCommand')) {
-   var gmrmc = GM_util.hitch(null, registerMenuCommand, aScriptRunner);
-   sandbox.GM_registerMenuCommand = gmrmc;
+    sandbox.GM_registerMenuCommand = GM_util.hitch(null, registerMenuCommand, aScriptRunner, aScript);
   }
 
   var scriptStorage = new GM_ScriptStorageFront(aScript, aMessageManager);

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



More information about the Pkg-mozext-commits mailing list