summaryrefslogtreecommitdiffstats
path: root/apps/dav/js
diff options
context:
space:
mode:
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'));
}
});