This is no longer necessary with the slash separator.
authorJan Schneider <jan@horde.org>
Wed, 4 Nov 2009 15:20:23 +0000 (16:20 +0100)
committerJan Schneider <jan@horde.org>
Wed, 4 Nov 2009 15:20:23 +0000 (16:20 +0100)
kronolith/js/kronolith.js

index 62c1820..70d65d2 100644 (file)
@@ -1018,8 +1018,8 @@ KronolithCore = {
 
         _createElement = function(event) {
             var el = new Element('DIV', { 'id': event.value.nodeId, 'class': 'kronolithEvent' })
-                .store('calendar', event.value.calendar.replace(/:/, '^'))
-                .store('eventid', event.key.replace(/:/, '^'));
+                .store('calendar', event.value.calendar)
+                .store('eventid', event.key);
             if (!Object.isUndefined(event.value.aj)) {
                 el.store('ajax', event.value.aj);
             }
@@ -2205,7 +2205,7 @@ KronolithCore = {
         this.doAction('ListTopTags', {}, this._topTags);
         if (id) {
             RedBox.loading();
-            this.doAction('GetEvent', { 'cal': calendar.replace(/\^/, ':'), 'id': id.replace(/\^/, ':') }, this._editEvent.bind(this));
+            this.doAction('GetEvent', { 'cal': calendar, 'id': id }, this._editEvent.bind(this));
         } else {
             var d = date ? this.parseDate(date) : new Date();
             $('kronolithEventId').value = '';