aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/js
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2019-03-16 16:19:25 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-15 20:02:56 +0200
commit7bddcc091d5fe0f5e01325e16524d44fe8c1fb74 (patch)
tree6af37e4e745f5816292a2c496d34b12afe95440e /apps/dav/js
parentf452e23a7db1742afa50eaa80b746afe769bdf7b (diff)
downloadnextcloud-server-7bddcc091d5fe0f5e01325e16524d44fe8c1fb74.tar.gz
nextcloud-server-7bddcc091d5fe0f5e01325e16524d44fe8c1fb74.zip
Support event reminders (email and notifications)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/js')
-rw-r--r--apps/dav/js/settings-admin-caldav.js6
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');
+});