Send invitations to resources

This commit is contained in:
Thomas Bruederli 2014-08-05 12:14:16 +02:00
parent ba17a19bf6
commit af768030d0

View file

@ -836,7 +836,7 @@ function rcube_calendar_ui(settings)
if (allow_invitations) {
$.each(data.attendees, function (i, v) {
if (v.role != 'ORGANIZER') {
if ($('input.edit-attendee-reply[value="' + v.email + '"]').prop('checked')) {
if ($('input.edit-attendee-reply[value="' + v.email + '"]').prop('checked') || v.cutype == 'RESOURCE') {
need_invitation = true;
delete data.attendees[i]['noreply'];
}