Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2017-10-19 16:39:15 +0300
committerMaxence Lange <maxence@artificial-owl.com>2017-10-19 16:39:15 +0300
commit7746752638acca6bd71f115398e95a3a0804e00f (patch)
tree3715d93fe1271e18f3e973ee5e1d4a8c6c59e794 /js/admin.js
parentde2ce64ff81cd9f0e38b57eb9ec6b36891147e7a (diff)
using oc_appswebroots
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/admin.js b/js/admin.js
index f4866237..a0cd80cc 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -52,7 +52,7 @@ $(document).ready(function () {
elements.test_async_reset.hide().on('click', function () {
$.ajax({
method: 'DELETE',
- url: OC.generateUrl('/apps/circles/admin/testAsync')
+ url: OC.generateUrl(oc_appswebroots.circles + '/admin/testAsync')
}).done(function (res) {
self.displayTestAsync(res);
});
@@ -61,7 +61,7 @@ $(document).ready(function () {
elements.test_async_start.hide().on('click', function () {
$.ajax({
method: 'POST',
- url: OC.generateUrl('/apps/circles/admin/testAsync')
+ url: OC.generateUrl(oc_appswebroots.circles + '/admin/testAsync')
}).done(function (res) {
self.displayTestAsync(res);
});
@@ -78,7 +78,7 @@ $(document).ready(function () {
saveChange = function () {
$.ajax({
method: 'POST',
- url: OC.generateUrl('/apps/circles/admin/settings'),
+ url: OC.generateUrl(oc_appswebroots.circles + '/admin/settings'),
data: {
allow_linked_groups: (elements.allow_linked_groups.is(
':checked')) ? '1' : '0',
@@ -99,7 +99,7 @@ $(document).ready(function () {
refreshResult = function () {
$.ajax({
method: 'GET',
- url: OC.generateUrl('/apps/circles/admin/testAsync')
+ url: OC.generateUrl(oc_appswebroots.circles + '/admin/testAsync')
}).done(function (res) {
self.displayTestAsync(res);
});
@@ -165,7 +165,7 @@ $(document).ready(function () {
$.ajax({
method: 'GET',
- url: OC.generateUrl('/apps/circles/admin/settings'),
+ url: OC.generateUrl(oc_appswebroots.circles + '/admin/settings'),
data: {}
}).done(function (res) {
elements.allow_linked_groups.prop('checked', (res.allowLinkedGroups === '1'));