summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniko <niko>2012-11-07 21:21:32 (GMT)
committerniko <niko>2012-11-07 21:21:32 (GMT)
commitc4f1e7d3742bd708db49290e8c9afdab50beb751 (patch)
tree92fa921b89ca7de27fdc276b433376a9608fdefc
parent0641efc4b13bd96180d09b349cadd716364116dd (diff)
downloadsynckolab-c4f1e7d3742bd708db49290e8c9afdab50beb751.tar.gz
check for categories function
-rw-r--r--src/chrome/content/synckolab/calendarTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chrome/content/synckolab/calendarTools.js b/src/chrome/content/synckolab/calendarTools.js
index 51fd542..1d33b17 100644
--- a/src/chrome/content/synckolab/calendarTools.js
+++ b/src/chrome/content/synckolab/calendarTools.js
@@ -921,7 +921,7 @@ synckolab.calendarTools.json2event = function (jobj, calendar) {
if (!event.setCategories) {
this.setKolabItemProperty(event, "CATEGORIES", jobj.categories);
}
- else {
+ else if(typeof categoriesStringToArray !== "undefined"){
// from calUtils.js
var categories = categoriesStringToArray(jobj.categories);
event.setCategories(categories.length, categories);