projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3046a
)
Fix opening remote events.
author
Jan Schneider
<jan@horde.org>
Mon, 10 May 2010 15:34:11 +0000
(17:34 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 10 May 2010 15:34:11 +0000
(17:34 +0200)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
5593096
..
d5ff3b8
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-458,12
+458,13
@@
KronolithCore = {
// New event on a certain date.
this.editEvent(null, null, locParts[0]);
break;
-
case 3
:
+
default
:
// Editing event.
- this.editEvent(locParts[0], locParts[1], locParts[2]);
+ var date = locParts.pop(),
+ event = locParts.pop(),
+ calendar = locParts.join(':');
+ this.editEvent(calendar, event, date);
break;
- default:
- return;
}
this.addHistory(fullloc);
break;