diff options
Diffstat (limited to 'apps/dav/js/settings-admin-caldav.js')
-rw-r--r-- | apps/dav/js/settings-admin-caldav.js | 6 |
1 files changed, 6 insertions, 0 deletions
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'); +}); |