Fix element name.
authorJan Schneider <jan@horde.org>
Thu, 27 Jan 2011 17:16:02 +0000 (18:16 +0100)
committerJan Schneider <jan@horde.org>
Thu, 27 Jan 2011 17:38:40 +0000 (18:38 +0100)
kronolith/js/kronolith.js

index 2f7d67e..a5c243b 100644 (file)
@@ -5931,7 +5931,7 @@ KronolithCore = {
         $('kronolithEventStartDate', 'kronolithEventStartTime').invoke('observe', 'change', this.updateEndTime.bind(this));
 
         if (Kronolith.conf.has_tasks) {
-            $('kronolithTaskDueDate', 'kronolithEventDueTime').compact().invoke('observe', 'focus', this.setDefaultDue.bind(this));
+            $('kronolithTaskDueDate', 'kronolithTaskDueTime').compact().invoke('observe', 'focus', this.setDefaultDue.bind(this));
         }
 
         document.observe('keydown', KronolithCore.keydownHandler.bindAsEventListener(KronolithCore));