summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-12-21 16:19:16 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-12-21 16:22:34 (GMT)
commitefb350d02ad40685913fd363f6a00464a931edef (patch)
tree60e1611fc34d3a6defdf783cb03c9b94f5957e3b
parent0ddd3fad15c5dc42a102218524ecffbceb9d2587 (diff)
downloadroundcubemail-plugins-kolab-roundcubemail-plugins-kolab-0.8.tar.gz
Make sure invitations/updates are always sent if required (#1408)roundcubemail-plugins-kolab-0.8
-rw-r--r--plugins/calendar/calendar_ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index a2aac7c..8c14afb 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -685,7 +685,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;
}