[Pkg-mozext-commits] [gcontactsync] 63/88: Issue #41: Warning when auto sync tries to set a custom label.

David Prévot taffit at moszumanska.debian.org
Thu Sep 18 20:52:30 UTC 2014


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

taffit pushed a commit to branch master
in repository gcontactsync.

commit 5df6be6f80e5bf1afea16688ba1fa69764e033a6
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Mon Jun 23 23:03:19 2014 -0500

    Issue #41: Warning when auto sync tries to set a custom label.
---
 src/content/gdata.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/content/gdata.js b/src/content/gdata.js
index e7d2f1b..0792e83 100644
--- a/src/content/gdata.js
+++ b/src/content/gdata.js
@@ -295,10 +295,10 @@ com.gContactSync.gdata = {
       // Otherwise it IS a custom type so it should be a label
       } else {
         // Set a label
-        this.mCurrentElement.setAttribute("label", aType);
+        aElement.setAttribute("label", aType);
         // Remove a rel, if present
-        if (this.mCurrentElement.hasAttribute("rel")) {
-          this.mCurrentElement.removeAttribute("rel");
+        if (aElement.hasAttribute("rel")) {
+          aElement.removeAttribute("rel");
         }
       }
     },

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



More information about the Pkg-mozext-commits mailing list