From: Jan Schneider Date: Mon, 7 Dec 2009 22:40:23 +0000 (+0100) Subject: New event when clicking on day or week view. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a8f522022136dc4ebef05545f59dc867735d77bd;p=horde.git New event when clicking on day or week view. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 5d0a53256..f3ac6a944 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -2715,6 +2715,11 @@ KronolithCore = { e.stop(); return; + case 'kronolithEventsDay': + this.go('event:' + this.date.dateString()); + e.stop(); + return; + case 'kronolithViewMonth': if (orig.hasClassName('kronolithFirstCol')) { var date = orig.retrieve('date'); @@ -2834,6 +2839,12 @@ KronolithCore = { e.stop(); return; + case 'kronolithEventGeo': + this.ensureMap(); + this.geocode($F('kronolithEventLocation')); + e.stop(); + return; + case 'kronolithTaskRow': if (elt.retrieve('taskid')) { this.go('task:' + elt.retrieve('tasklist') + ':' + elt.retrieve('taskid')); @@ -2848,9 +2859,8 @@ KronolithCore = { e.stop(); return; - case 'kronolithEventGeo': - this.ensureMap(); - this.geocode($F('kronolithEventLocation')); + case 'kronolithEventsWeek': + this.go('event:' + elt.identify().substr(elt.identify().length - 8)); e.stop(); return; }