From a8c8b115608fda12c97045b39336f03d23d9c339 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 7 Sep 2010 13:41:13 -0600 Subject: [PATCH] Bug #9233: Menu goto js was triggering for any calendar click --- kronolith/js/goto.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kronolith/js/goto.js b/kronolith/js/goto.js index 48b54cbe4..72c9bb5c8 100644 --- a/kronolith/js/goto.js +++ b/kronolith/js/goto.js @@ -17,6 +17,11 @@ var KronolithGoto = calendarSelect: function(e, type) { + // Only trigger if this is the goto menu. + if (!e.findElement('A.kgotomenu')) { + return; + } + var q, url, params = $H({ date: e.memo.getFullYear() + (e.memo.getMonth() + 1).toPaddedString(2) + (e.memo.getDate()).toPaddedString(2) }); -- 2.11.0