plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Fri Dec 21 17:19:36 CET 2012


 plugins/calendar/calendar_ui.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c5edcf0e9b43f542a0769f7d872ce761b7fa77e
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Fri Dec 21 17:19:16 2012 +0100

    Make sure invitations/updates are always sent if required (#1408)

diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index 1a5a38b..24d7bd6 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -621,7 +621,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;
         }
 





More information about the commits mailing list