summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chrome/content/synckolab/addressbookTools.js2
-rw-r--r--src/chrome/content/synckolab/config.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/chrome/content/synckolab/addressbookTools.js b/src/chrome/content/synckolab/addressbookTools.js
index 7fa74ea..6f82df5 100644
--- a/src/chrome/content/synckolab/addressbookTools.js
+++ b/src/chrome/content/synckolab/addressbookTools.js
@@ -1879,7 +1879,7 @@ synckolab.addressbookTools.card2Kolab3 = function (card, skipHeader, fields) {
xml += "</vcards>\n";
}
- if(attach.length == 0) {
+ if(attach.length === 0) {
return xml;
}
diff --git a/src/chrome/content/synckolab/config.js b/src/chrome/content/synckolab/config.js
index 3eafcce..1759a3b 100644
--- a/src/chrome/content/synckolab/config.js
+++ b/src/chrome/content/synckolab/config.js
@@ -43,7 +43,7 @@ synckolab.config = {
// set this to true to also print timing information
PERFLOG_SYNCKOLAB: true,
- DEBUG_SYNCKOLAB_LEVEL: 15, // global.global.LOG_ALL + global.global.LOG_DEBUG
+ DEBUG_SYNCKOLAB_LEVEL: 12, // global.global.LOG_ALL + global.global.LOG_ERROR
//set this to true and on every error there will be a pause so you can check the logs
PAUSE_ON_ERROR: false,
@@ -113,7 +113,8 @@ synckolab.config.loadConfiguration = function(pref) {
var config = {
version: synckolab.tools.getConfigValue(pref, "configVersion", synckolab.tools.CONFIG_TYPE_INT, 0),
- debugLevel: synckolab.tools.getConfigValue(pref, "debugLevel", synckolab.tools.CONFIG_TYPE_INT, synckolab.global.LOG_WARNING),
+ // default: only errors
+ debugLevel: synckolab.tools.getConfigValue(pref, "debugLevel", synckolab.tools.CONFIG_TYPE_INT, synckolab.global.LOG_ERROR),
// hide folder
hideFolder: synckolab.tools.getConfigValue(pref, "hideFolder", synckolab.tools.CONFIG_TYPE_BOOL, false),
// close window when done