Fixed ussue 1206: Moving from "allDay" event to Day timeline should set end time/date

This commit is contained in:
Your Name 2011-12-14 19:38:28 +01:00
parent 56ae9f1cbf
commit 73bb0ad051

View file

@ -235,6 +235,8 @@ function View(element, calendar, viewName) {
addMinutes(addDays(e.start, dayDelta, true), minuteDelta); addMinutes(addDays(e.start, dayDelta, true), minuteDelta);
if (e.end) { if (e.end) {
e.end = addMinutes(addDays(e.end, dayDelta, true), minuteDelta); e.end = addMinutes(addDays(e.end, dayDelta, true), minuteDelta);
} else {
e.end = defaultEventEnd(e);
} }
normalizeEvent(e, options); normalizeEvent(e, options);
} }