summaryrefslogtreecommitdiffstats
path: root/apps/dav/js
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-07-12 21:49:02 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-07-12 21:49:02 +0200
commit684945c1a1e2a80bd0eb4bc798b2de2d73a05178 (patch)
treeb0b99deaa058579e71b6c3016e13af709fdb9fdf /apps/dav/js
parented6352af0ecb7cd4faf9635e8bab9042022b5018 (diff)
downloadnextcloud-server-684945c1a1e2a80bd0eb4bc798b2de2d73a05178.tar.gz
nextcloud-server-684945c1a1e2a80bd0eb4bc798b2de2d73a05178.zip
Fix call to OC.generateUrl for caldav birthday calendar on/off
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/dav/js')
-rw-r--r--apps/dav/js/settings-admin-caldav.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/js/settings-admin-caldav.js b/apps/dav/js/settings-admin-caldav.js
index cf1a2006f69..1a40c208dfe 100644
--- a/apps/dav/js/settings-admin-caldav.js
+++ b/apps/dav/js/settings-admin-caldav.js
@@ -31,8 +31,8 @@ $('#caldavGenerateBirthdayCalendar').change(function() {
var val = $(this)[0].checked;
if (val) {
- $.post(OC.generateUrl(OC.linkTo("dav", "enableBirthdayCalendar")));
+ $.post(OC.generateUrl('/apps/dav/enableBirthdayCalendar'));
} else {
- $.post(OC.generateUrl(OC.linkTo("dav", "disableBirthdayCalendar")));
+ $.post(OC.generateUrl('/apps/dav/disableBirthdayCalendar'));
}
});