summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-12-21 16:19:16 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-02-06 12:33:03 (GMT)
commit0468d441a8b95c8f747a39188de95a6c716bd4ce (patch)
treecafd405618448f2bf70323e14e38f8333d35ba26
parentec6bb9bb42bce307ae301dfce4e0bc259d0ca530 (diff)
downloadroundcubemail-plugins-kolab-0468d441a8b95c8f747a39188de95a6c716bd4ce.tar.gz
Make sure invitations/updates are always sent if required (#1408)dev/1408
-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 57a5947..1efc160 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -604,7 +604,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;
}