Make sure invitations/updates are always sent if required (#1408)

This commit is contained in:
Thomas Bruederli 2012-12-21 17:19:16 +01:00
parent 1c22cb542f
commit 8c5edcf0e9

View file

@ -621,7 +621,7 @@ function rcube_calendar_ui(settings)
data.attendees = [];
// tell server to send notifications
if (data.attendees.length && organizer && ((event.id && notify.checked) || (!event.id && invite.checked))) {
if ((data.attendees.length || (event.id && event.attendees.length)) && organizer && (notify.checked || invite.checked)) {
data._notify = 1;
}