Branch 'roundcubemail-plugins-kolab-format2-horde5' - plugins/calendar

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Wed Feb 6 13:33:46 CET 2013


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

New commits:
commit 348dea417981f63b8ce89b81c7a0d45b3a0d9b11
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 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;
         }
 





More information about the commits mailing list