summaryrefslogtreecommitdiff
path: root/plugins/calendar
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-26 15:28:35 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-26 15:28:35 (GMT)
commit1bcc7a48ef5359261309e2413543be4ae0500a3b (patch)
tree73463d821232b52ae29a37e569bb3adbb502ade4 /plugins/calendar
parentd4f819bf94dd5c4f8e397237ddae99ef6de1f474 (diff)
downloadroundcubemail-plugins-kolab-1bcc7a48ef5359261309e2413543be4ae0500a3b.tar.gz
Do not check the 'decline' box by default when deleting cancelled events
Diffstat (limited to 'plugins/calendar')
-rw-r--r--plugins/calendar/calendar_ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index eb57fa7..e8edcc8 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -2591,6 +2591,7 @@ function rcube_calendar_ui(settings)
}
else if (action == 'remove' && is_attendee(event)) {
decline = true;
+ checked = event.status != 'CANCELLED' ? checked : '';
html += '<div class="message">' +
'<label><input class="confirm-attendees-decline" type="checkbox"' + checked + ' value="1" name="decline" />&nbsp;' +
rcmail.gettext('itipdeclineevent', 'calendar') +