Took me only half of the day to find that typo. Why can't a single browser
authorJan Schneider <jan@horde.org>
Tue, 18 May 2010 22:33:00 +0000 (00:33 +0200)
committerJan Schneider <jan@horde.org>
Tue, 18 May 2010 22:34:46 +0000 (00:34 +0200)
complain when accidentally inserting a div into a tbody???

kronolith/js/kronolith.js

index 92745d9..8d5024b 100644 (file)
@@ -1838,7 +1838,7 @@ KronolithCore = {
             $('kronolithMonthDay' + date).insert(div);
             if (event.value.pe) {
                 div.setStyle({ cursor: 'move' });
-                new Drag('kronolithEventmonth' + event.value.calendar + date + event.key, { threshold: 5, parentElement: function() { return $('kronolithViewMonthBody'); }, snapToParent: true });
+                new Drag('kronolithEventmonth' + event.value.calendar + date + event.key, { threshold: 5, parentElement: function() { return $('kronolithViewMonthContainer'); }, snapToParent: true });
             }
             if (Kronolith.conf.max_events) {
                 var more = $('kronolithMonthDay' + date).down('.kronolithMore');