Fix error with IE and prototype.
authorJan Schneider <jan@horde.org>
Fri, 12 Feb 2010 17:35:49 +0000 (18:35 +0100)
committerJan Schneider <jan@horde.org>
Fri, 12 Feb 2010 17:35:49 +0000 (18:35 +0100)
kronolith/lib/Ajax/Application.php
kronolith/templates/index/edit.inc

index 8335797..97efe4d 100644 (file)
@@ -77,7 +77,7 @@ class Kronolith_Ajax_Application extends Horde_Ajax_Application_Base
             return false;
         }
 
-        $event = $kronolith_driver->getEvent($vars->id);
+        $event = $kronolith_driver->getEvent($vars->event);
         if (!$event) {
             $GLOBALS['notification']->push(_("The requested event was not found."), 'horde.error');
             return false;
index 785aa31..8765987 100644 (file)
@@ -1,6 +1,6 @@
 <div id="kronolithEventDialog" class="kronolithDialog" style="display:none">
 <form id="kronolithEventForm" action="">
-<input id="kronolithEventId" type="hidden" name="id" />
+<input id="kronolithEventId" type="hidden" name="event" />
 <input id="kronolithEventCalendar" type="hidden" name="cal" />
 <input id="kronolithEventLocationLon" type="hidden" name="lon" />
 <input id="kronolithEventLocationLat" type="hidden" name="lat" />