From: Jan Schneider Date: Tue, 18 May 2010 22:33:00 +0000 (+0200) Subject: Took me only half of the day to find that typo. Why can't a single browser X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3b5a1582afb113c62ecbd5e0ac8d55b0cd02d840;p=horde.git Took me only half of the day to find that typo. Why can't a single browser complain when accidentally inserting a div into a tbody??? --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 92745d940..8d5024b25 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -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');