Fix going to day when click on agenda/search results day.
authorJan Schneider <jan@horde.org>
Mon, 3 May 2010 21:59:10 +0000 (23:59 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 May 2010 21:59:47 +0000 (23:59 +0200)
kronolith/js/kronolith.js

index cc7c86b..4a548ec 100644 (file)
@@ -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'));