summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniko <niko>2012-06-24 22:31:39 (GMT)
committerniko <niko>2012-06-24 22:31:39 (GMT)
commit07b65e1a71a0972b6a1f4f13d522cc25b8a9fe50 (patch)
treef31d853d025dc11c1a0e80ce4f1c6f64d9d6acaf
parent5dbc14a22ec2ec5114b75e090875dd6ddb7380d4 (diff)
downloadsynckolab-07b65e1a71a0972b6a1f4f13d522cc25b8a9fe50.tar.gz
#24957 fix problem with lists with spaces
-rw-r--r--src/chrome/content/synckolab/addressbookTools.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chrome/content/synckolab/addressbookTools.js b/src/chrome/content/synckolab/addressbookTools.js
index 94a6ee7..c514da3 100644
--- a/src/chrome/content/synckolab/addressbookTools.js
+++ b/src/chrome/content/synckolab/addressbookTools.js
@@ -266,10 +266,10 @@ com.synckolab.addressbookTools = {
try {
// sk always uses dirName
if (card.synckolab) {
- return this.getCardProperty(card, "DisplayName");
+ return com.synckolab.tools.text.fixNameToMiniCharset(this.getCardProperty(card, "DisplayName"));
}
// tbird is more creative
- return this.getCardProperty(card, "Name");
+ return com.synckolab.tools.text.fixNameToMiniCharset(this.getCardProperty(card, "Name"));
} catch (err) {
com.synckolab.tools.logMessage("Error in getUID. ListNickName: '" + card.listNickName + "'\n\nStack:\n" + err.stack, com.synckolab.global.LOG_DEBUG);
throw err;