From 7bddcc091d5fe0f5e01325e16524d44fe8c1fb74 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 16 Mar 2019 16:19:25 +0100 Subject: Support event reminders (email and notifications) Signed-off-by: Thomas Citharel --- apps/dav/js/settings-admin-caldav.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/dav/js') diff --git a/apps/dav/js/settings-admin-caldav.js b/apps/dav/js/settings-admin-caldav.js index 1a40c208dfe..ad30ba6ad37 100644 --- a/apps/dav/js/settings-admin-caldav.js +++ b/apps/dav/js/settings-admin-caldav.js @@ -36,3 +36,9 @@ $('#caldavGenerateBirthdayCalendar').change(function() { $.post(OC.generateUrl('/apps/dav/disableBirthdayCalendar')); } }); + +$('#caldavSendRemindersNotifications').change(function() { + var val = $(this)[0].checked; + + OCP.AppConfig.setValue('dav', 'sendEventReminders', val ? 'yes' : 'no'); +}); -- cgit v1.2.3