diff options
author | niko <niko> | 2012-06-10 22:38:53 (GMT) |
---|---|---|
committer | niko <niko> | 2012-06-10 22:38:53 (GMT) |
commit | 09b2692e341e6ca4437023d0962fbf8195fd19e6 (patch) | |
tree | 021d703e4502cf8540defd697128bb830a1851d8 /src | |
parent | 0015bbc9593f5109dabd5ebdfa67d4cfade79cfa (diff) | |
download | synckolab-09b2692e341e6ca4437023d0962fbf8195fd19e6.tar.gz |
check for idxentry
Diffstat (limited to 'src')
-rw-r--r-- | src/chrome/content/synckolab/addressbook.js | 7 |
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) |