summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniko <niko>2012-08-26 13:49:18 (GMT)
committerniko <niko>2012-08-26 13:49:18 (GMT)
commit9df93aa72d2e67afde9e4e6d515072720f98f9fc (patch)
tree5d7d589535387cbd2718ad62962b770b428910dc
parent1bd50976db2694d391bc28a0c6f8245af2272650 (diff)
downloadsynckolab-9df93aa72d2e67afde9e4e6d515072720f98f9fc.tar.gz
fix for #25106
-rw-r--r--src/chrome/content/synckolab/tools/text.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chrome/content/synckolab/tools/text.js b/src/chrome/content/synckolab/tools/text.js
index eb66a46..2a03856 100644
--- a/src/chrome/content/synckolab/tools/text.js
+++ b/src/chrome/content/synckolab/tools/text.js
@@ -73,9 +73,10 @@ com.synckolab.tools.text = {
* remove possible problematic chars from a name
*/
fixNameToMiniCharset : function (name) {
- if(!name) {
+ if (typeof name === 'undefined' || !name.length) {
com.synckolab.global.consoleService.logStringMessage("undefined string " + new Error("s").stack);
}
+
var ret = "";
// avoid double placeholders
var placeHolder = false;