projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618404a
)
Require a supported calendar type for editing.
author
Jan Schneider
<jan@horde.org>
Tue, 20 Jul 2010 21:01:32 +0000
(23:01 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 26 Jul 2010 21:34:07 +0000
(23:34 +0200)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
81338a4
..
0e62377
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-2736,6
+2736,9
@@
KronolithCore = {
this.quickClose();
var type = calendar.split('|')[0], cal = calendar.split('|')[1];
+ if (!$w('internal tasklists remote holiday').include(type)) {
+ return;
+ }
if (cal &&
(Object.isUndefined(Kronolith.conf.calendars[type]) ||