From 2e5d68fc076f193b93fb2123301cc22ec9f7a929 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 18 Dec 2009 14:29:20 -0700 Subject: [PATCH] Missed adding this file --- kronolith/js/new.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 kronolith/js/new.js diff --git a/kronolith/js/new.js b/kronolith/js/new.js new file mode 100644 index 000000000..8a6ae21fe --- /dev/null +++ b/kronolith/js/new.js @@ -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)); + -- 2.11.0