[Pkg-mozext-commits] [gcontactsync] 61/88: Issue #39 - 'null' stripped out of contacts and groups

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 bf990dc410475183106836c8af3687ed3dd65c1a
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sun Jun 22 17:56:27 2014 -0500

    Issue #39 - 'null' stripped out of contacts and groups
---
 src/content/synonyms.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/content/synonyms.js b/src/content/synonyms.js
index 62bec80..2a26674 100644
--- a/src/content/synonyms.js
+++ b/src/content/synonyms.js
@@ -104,8 +104,7 @@ com.gContactSync.serialize = function gCS_serialize(aXML) {
   try {
     return Components.classes["@mozilla.org/xmlextras/xmlserializer;1"]
                      .createInstance(Components.interfaces.nsIDOMSerializer)
-                     .serializeToString(aXML)
-                     .replace(/null/g, "");
+                     .serializeToString(aXML);
   }
   catch (e) {
     com.gContactSync.LOGGER.LOG_WARNING("Error while serializing the following XML: " +

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