summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorniko <niko>2012-05-18 21:19:52 (GMT)
committerniko <niko>2012-05-18 21:19:52 (GMT)
commitc1afe5a2919b50e6ff10dde9df0080a77af9bb4e (patch)
tree5889bcc92cf7465264ffb1d8e6f8e7d5a337f793 /src
parent69f049e5649daf432f37a2d79b4add500780748e (diff)
downloadsynckolab-c1afe5a2919b50e6ff10dde9df0080a77af9bb4e.tar.gz
fix #24905
Diffstat (limited to 'src')
-rw-r--r--src/chrome/content/synckolab/synckolab.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chrome/content/synckolab/synckolab.js b/src/chrome/content/synckolab/synckolab.js
index df38b83..21b66e4 100644
--- a/src/chrome/content/synckolab/synckolab.js
+++ b/src/chrome/content/synckolab/synckolab.js
@@ -1181,7 +1181,7 @@ com.synckolab.main.updateContent = function()
com.synckolab.tools.logMessage("updating content:", com.synckolab.global.LOG_DEBUG);
var i;
// first lets delete the old messages
- if (com.synckolab.main.gSync.gSaveImap && com.synckolab.main.updateMessages.length > 0)
+ if (com.synckolab.main.gConfig.saveToImap && com.synckolab.main.updateMessages.length > 0)
{
try
{
@@ -1233,7 +1233,7 @@ com.synckolab.main.updateContentWrite = function()
{
var skcontent = com.synckolab.main.updateMessagesContent[com.synckolab.main.curMessage];
// write the message
- if (com.synckolab.main.gSync.gSaveImap && skcontent !== "DELETEME" && skcontent!== null && skcontent.length > 1)
+ if (com.synckolab.main.gConfig.saveToImap && skcontent !== "DELETEME" && skcontent!== null && skcontent.length > 1)
{
com.synckolab.tools.logMessage("adding [" + skcontent + "] to messages", com.synckolab.global.LOG_DEBUG);
com.synckolab.main.writeImapMessage(skcontent, com.synckolab.main.gConfig, com.synckolab.main.kolabCopyServiceListener);