Fix detecting of more... link in all-day area of week view.
authorJan Schneider <jan@horde.org>
Fri, 21 May 2010 16:34:26 +0000 (18:34 +0200)
committerJan Schneider <jan@horde.org>
Fri, 21 May 2010 16:34:26 +0000 (18:34 +0200)
kronolith/js/kronolith.js

index 5f1cde2..5ecb2ad 100644 (file)
@@ -1613,7 +1613,7 @@ KronolithCore = {
                 if (view == 'day') {
                     $('kronolithViewDay').down('.kronolithAllDayContainer').insert(div.setStyle(style));
                 } else {
-                    var existing = $('kronolithAllDay' + date).select('div');
+                    var existing = $('kronolithAllDay' + date).childElements();
                     if (existing.size() == 3) {
                         if (existing[2].className != 'kronolithMore') {
                             existing[2].remove();