projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd5eb5
)
Fix error adding the first remote calendar.
author
Jan Schneider
<jan@horde.org>
Mon, 3 May 2010 16:05:36 +0000
(18:05 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 3 May 2010 16:38:03 +0000
(18:38 +0200)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
f42559d
..
c649a06
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-3088,6
+3088,9
@@
KronolithCore = {
if (data.tags) {
cal.tg = data.tags.split(',');
}
+ if (!Kronolith.conf.calendars[type]) {
+ Kronolith.conf.calendars[type] = [];
+ }
Kronolith.conf.calendars[type][r.response.calendar] = cal;
this.insertCalendarInList(type, r.response.calendar, cal);
}