mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
* Calendar: Fix default alarm does not get changed relatively to the selected start time when creating new event
This commit is contained in:
parent
4e220eb3c3
commit
869f3adb6a
@ -828,6 +828,12 @@ class calendar_uiforms extends calendar_ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Update alarm (default alarm or set alarm before change start date)
|
||||||
|
// for new event.
|
||||||
|
elseif (is_array($event['alarm']) && ($event['alarm'][1]['time'] + $event['alarm'][1]['offset'] != $event['start']))
|
||||||
|
{
|
||||||
|
$this->bo->check_move_alarms($event);
|
||||||
|
}
|
||||||
// Adding participants needs to be done as an edit, in case we
|
// Adding participants needs to be done as an edit, in case we
|
||||||
// have participants visible in seperate calendars
|
// have participants visible in seperate calendars
|
||||||
if(is_array($old_event['participants']) && count(array_diff_key($event['participants'], $old_event['participants'])))
|
if(is_array($old_event['participants']) && count(array_diff_key($event['participants'], $old_event['participants'])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user