Missed adding this file
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 21:29:20 +0000 (14:29 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 23:37:46 +0000 (16:37 -0700)
kronolith/js/new.js [new file with mode: 0644]

diff --git a/kronolith/js/new.js b/kronolith/js/new.js
new file mode 100644 (file)
index 0000000..8a6ae21
--- /dev/null
@@ -0,0 +1,9 @@
+var KronolithNew = {
+    calendarSelectHandler: function(e)
+    {
+        e.element().previous().setValue(e.memo.toString(Kronolith.conf.date_format));
+    }
+};
+
+document.observe('Horde_Calendar:select', KronolithNew.calendarSelectHandler.bindAsEventListener(KronolithNew));
+