summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorniko <niko>2012-06-10 22:38:53 (GMT)
committerniko <niko>2012-06-10 22:38:53 (GMT)
commit09b2692e341e6ca4437023d0962fbf8195fd19e6 (patch)
tree021d703e4502cf8540defd697128bb830a1851d8 /src
parent0015bbc9593f5109dabd5ebdfa67d4cfade79cfa (diff)
downloadsynckolab-09b2692e341e6ca4437023d0962fbf8195fd19e6.tar.gz
check for idxentry
Diffstat (limited to 'src')
-rw-r--r--src/chrome/content/synckolab/addressbook.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/chrome/content/synckolab/addressbook.js b/src/chrome/content/synckolab/addressbook.js
index 87d2d15..34f4ea9 100644
--- a/src/chrome/content/synckolab/addressbook.js
+++ b/src/chrome/content/synckolab/addressbook.js
@@ -1132,7 +1132,12 @@ com.synckolab.AddressBook = {
alert("UID is NULL???" + curItem.custom4);
}
- if (idxEntry.exists() && !this.forceServerCopy)
+ if(!idxEntry) {
+ alert("unable to get sync db file for " + curItem.custom4 + " please check the access rights in your profile folder!");
+ return;
+ }
+
+ if (idxEntry && idxEntry.exists() && !this.forceServerCopy)
{
if (!curItem.isMailList)