diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-07-12 21:49:02 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-07-12 21:49:02 +0200 |
commit | 684945c1a1e2a80bd0eb4bc798b2de2d73a05178 (patch) | |
tree | b0b99deaa058579e71b6c3016e13af709fdb9fdf /apps/dav | |
parent | ed6352af0ecb7cd4faf9635e8bab9042022b5018 (diff) | |
download | nextcloud-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')
-rw-r--r-- | apps/dav/js/settings-admin-caldav.js | 4 |
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')); } }); |