Fixed ussue 1206: Moving from "allDay" event to Day timeline should set end time/date
This commit is contained in:
parent
56ae9f1cbf
commit
73bb0ad051
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue