Fix adding events to the view after saving them.
authorJan Schneider <jan@horde.org>
Wed, 13 Jan 2010 16:15:05 +0000 (17:15 +0100)
committerJan Schneider <jan@horde.org>
Thu, 14 Jan 2010 11:25:47 +0000 (12:25 +0100)
kronolith/js/kronolith.js

index d5b748c..64abdca 100644 (file)
@@ -3196,7 +3196,7 @@ console.log(d, d.ghost.offsetTop, this.dragvars.startTop, event.offsetTop);
      */
     saveEvent: function()
     {
-        var cal = $F('kronolithEventCalendar'),
+        var cal = $F('kronolithEventTarget'),
             eventid = $F('kronolithEventId'),
             viewDates = this.viewDates(this.date, this.view),
             start = viewDates[0].dateString(),