forked from extern/egroupware
Fix all day events were incorrectly prompting about series split
This commit is contained in:
parent
4ece177cf9
commit
bd8b9a930f
@ -1426,7 +1426,9 @@ app.classes.calendar = AppJS.extend(
|
|||||||
{
|
{
|
||||||
if (content.start != start_date ||
|
if (content.start != start_date ||
|
||||||
content.whole_day != is_whole_day ||
|
content.whole_day != is_whole_day ||
|
||||||
(duration && ''+content.duration != duration || !duration && end_date != content.end_date)
|
(duration && ''+content.duration != duration ||
|
||||||
|
// End date might ignore seconds, and be 59 seconds off for all day events
|
||||||
|
!duration && Math.abs(new Date(end_date) - new Date(content.end)) > 60000)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
et2_calendar_event.series_split_prompt(
|
et2_calendar_event.series_split_prompt(
|
||||||
|
Loading…
Reference in New Issue
Block a user