CC-5641: Can Create Zero or Negative Length Shows
* Fixed two underlying causes of zero or negative length shows that could be created over DST time changes: - Fixed incorrect end time arithmetic which did not preserve the show duration. - Fixed a desynchronization issue due to FullCalendar handling events over DST differently from Airtime.
This commit is contained in:
parent
f16d8ca2ea
commit
0afaeadb15
2 changed files with 25 additions and 2 deletions
|
@ -325,6 +325,12 @@ function eventDrop(event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui
|
|||
alert(json.error);
|
||||
revertFunc();
|
||||
}
|
||||
|
||||
//Workaround for cases where FullCalendar handles events over DST
|
||||
//time changes in a different way than Airtime does.
|
||||
//(Airtime preserves show duration, FullCalendar doesn't.)
|
||||
scheduleRefetchEvents(json);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue