From 3d92d305f39f18010d4be6dcbbbef46661fcf25e Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 10 May 2010 17:34:11 +0200 Subject: [PATCH] Fix opening remote events. --- kronolith/js/kronolith.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 559309650..d5ff3b868 100644 --- 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; -- 2.11.0