diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js index 5a26c188..eb57fa71 100644 --- a/plugins/calendar/calendar_ui.js +++ b/plugins/calendar/calendar_ui.js @@ -2603,25 +2603,19 @@ function rcube_calendar_ui(settings) // recurring event: user needs to select the savemode if (event.recurrence) { - var disabled_state = '', message_label = (action == 'remove' ? 'removerecurringeventwarning' : 'changerecurringeventwarning'); -/* - if (_has_attendees) { - if (action == 'remove') { - if (!_is_organizer) { - message_label = 'removerecurringallonly'; - disabled_state = ' disabled'; - } - } - else if (is_organizer(event)) { - disabled_state = ' disabled'; - } + var future_disabled = '', message_label = (action == 'remove' ? 'removerecurringeventwarning' : 'changerecurringeventwarning'); + + // disable the 'future' savemode if attendees are involved + // reason: no calendaring system supports the thisandfuture range parameter + if (action == 'remove' && _has_attendees && is_organizer(event)) { + future_disabled = ' disabled'; } -*/ + html += '
' + '