From 11ae93a4906cfc858ce6532c6095d27d7acfa508 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 3 May 2010 23:59:10 +0200 Subject: [PATCH] Fix going to day when click on agenda/search results day. --- kronolith/js/kronolith.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index cc7c86b9a..4a548ec06 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -3732,10 +3732,10 @@ KronolithCore = { e.stop(); return; - case 'kronolithViewAgenda': + case 'kronolithViewAgendaBody': var tmp = orig; - if (tmp.tagName != 'td') { - tmp.up('td'); + if (tmp.tagName != 'TR') { + tmp = tmp.up('tr'); } if (tmp && tmp.retrieve('date')) { this.go('day:' + tmp.retrieve('date')); -- 2.11.0