Fix recognizing an organizer in event delete confirmation dialog
It caused that an organizer was presented with "decline invitation" instead of "notify attendees" option.
This commit is contained in:
parent
72ffafaaf9
commit
c718804f36
1 changed files with 1 additions and 1 deletions
|
@ -2558,7 +2558,7 @@ function rcube_calendar_ui(settings)
|
||||||
if (_has_attendees) {
|
if (_has_attendees) {
|
||||||
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
||||||
|
|
||||||
if (action == 'remove' && cal.group != 'shared' && is_attendee(event)) {
|
if (action == 'remove' && cal.group != 'shared' && !_is_organizer && is_attendee(event)) {
|
||||||
decline = true;
|
decline = true;
|
||||||
checked = event.status != 'CANCELLED' ? checked : '';
|
checked = event.status != 'CANCELLED' ? checked : '';
|
||||||
html += '<div class="message">' +
|
html += '<div class="message">' +
|
||||||
|
|
Loading…
Add table
Reference in a new issue