Set event/task title.
authorJan Schneider <jan@horde.org>
Fri, 13 Nov 2009 11:04:18 +0000 (12:04 +0100)
committerJan Schneider <jan@horde.org>
Mon, 16 Nov 2009 12:24:45 +0000 (13:24 +0100)
kronolith/js/kronolith.js

index d71e292..664b050 100644 (file)
@@ -1711,6 +1711,7 @@ KronolithCore = {
             $('kronolithEventAlarmOff').setValue(true);
         }
 
+        this.setTitle(task.n);
         RedBox.showHtml($('kronolithTaskDialog').show());
         this.eventForm = RedBox.getWindowContents();
     },
@@ -2577,6 +2578,7 @@ KronolithCore = {
             $('kronolithEventDelete').hide();
         }
 
+        this.setTitle(ev.t);
         RedBox.showHtml($('kronolithEventDialog').show());
         this.eventForm = RedBox.getWindowContents();
     },