summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorniko <niko>2012-07-25 16:59:22 (GMT)
committerniko <niko>2012-07-25 16:59:22 (GMT)
commit63a979bf4697064f475a34199f2df4d6a8fe123c (patch)
tree84d3e2ebaca5b45753c7fe9a176b7e3e2fce4f3f /src
parent4de95e424bc7a93f9508da25ce5a641aeed0bed4 (diff)
downloadsynckolab-63a979bf4697064f475a34199f2df4d6a8fe123c.tar.gz
#25035 check with sensitivity
Diffstat (limited to 'src')
-rw-r--r--src/chrome/content/synckolab/calendarTools.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chrome/content/synckolab/calendarTools.js b/src/chrome/content/synckolab/calendarTools.js
index e737d42..b54d9ab 100644
--- a/src/chrome/content/synckolab/calendarTools.js
+++ b/src/chrome/content/synckolab/calendarTools.js
@@ -829,7 +829,9 @@ com.synckolab.calendarTools.json2event = function (jobj, calendar) {
event.id = jobj.uid;
this.setKolabItemProperty(event, "title", jobj.title);
this.setKolabItemProperty(event, "DESCRIPTION", jobj.body);
- this.setKolabItemProperty(event, "CLASS", jobj.sensitivity.toUpperCase());
+ if(jobj.sensitivity) {
+ this.setKolabItemProperty(event, "CLASS", jobj.sensitivity.toUpperCase());
+ }
if(jobj.location) {
this.setKolabItemProperty(event, "LOCATION", jobj.location);