diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-07-12 21:49:02 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-08-20 14:20:52 +0200 |
commit | ee52136772718eff65cb0c27c5c1f60fc9cdd0af (patch) | |
tree | f3a75d20f579ba7c20ee1e0b386210c1b1d57096 | |
parent | f2f723c7c83798ccb65967b7329dd5b7ec78ea78 (diff) | |
download | nextcloud-server-ee52136772718eff65cb0c27c5c1f60fc9cdd0af.tar.gz nextcloud-server-ee52136772718eff65cb0c27c5c1f60fc9cdd0af.zip |
Fix call to OC.generateUrl for caldav birthday calendar on/off
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-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')); } }); |