[Pkg-mozext-commits] [tabmixplus] 66/107: Show function full name when Tabmix.changeCode is unable to change function

David Prévot taffit at moszumanska.debian.org
Tue Dec 29 19:02:51 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 5a696c33fc1211c753126befbdf14125f2d3a60c
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Nov 11 17:44:36 2015 +0200

    Show function full name when Tabmix.changeCode is unable to change function
---
 chrome/content/changecode.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/changecode.js b/chrome/content/changecode.js
index 0ff79ee..cce71b9 100644
--- a/chrome/content/changecode.js
+++ b/chrome/content/changecode.js
@@ -75,7 +75,7 @@ Tabmix.changeCode = function(aParent, aName, aOptions) {
             ' }';
         }
         let [obj, fnName] = [aObj || this.obj, aName || this.fnName];
-        if (this.isValidToChange(fnName)) {
+        if (this.isValidToChange(this.fullName)) {
           if (obj)
             Tabmix.setNewFunction(obj, fnName, Tabmix._makeCode(null, this.value));
           else

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



More information about the Pkg-mozext-commits mailing list