summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-29 18:08:54 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-02 18:00:23 +0200
commitbb136b9adf021cb154ff05222d3439373312bbc5 (patch)
treea6fccf936b0a40c7d48d55a23f4897b0332c3192 /core/js
parent210ea4d9d9a3488918c898beb6d6508c60686ad1 (diff)
downloadnextcloud-server-bb136b9adf021cb154ff05222d3439373312bbc5.tar.gz
nextcloud-server-bb136b9adf021cb154ff05222d3439373312bbc5.zip
Make the settings ajax calls use the router
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 39a58a24599..ffe3507a4eb 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -88,7 +88,12 @@ var OC={
}
link+=file;
}else{
- link+='/';
+ if (app == 'settings' && type == 'ajax') {
+ link+='/index.php/';
+ }
+ else {
+ link+='/';
+ }
if(!isCore){
link+='apps/';
}