From 73bb0ad051632d4907381f0b0e522ead527fbb34 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 14 Dec 2011 19:38:28 +0100 Subject: [PATCH] Fixed ussue 1206: Moving from "allDay" event to Day timeline should set end time/date --- src/common/View.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/View.js b/src/common/View.js index e245acf..efc1332 100644 --- a/src/common/View.js +++ b/src/common/View.js @@ -235,6 +235,8 @@ function View(element, calendar, viewName) { addMinutes(addDays(e.start, dayDelta, true), minuteDelta); if (e.end) { e.end = addMinutes(addDays(e.end, dayDelta, true), minuteDelta); + } else { + e.end = defaultEventEnd(e); } normalizeEvent(e, options); }