diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-29 18:08:54 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-02 18:00:23 +0200 |
commit | bb136b9adf021cb154ff05222d3439373312bbc5 (patch) | |
tree | a6fccf936b0a40c7d48d55a23f4897b0332c3192 /core/js | |
parent | 210ea4d9d9a3488918c898beb6d6508c60686ad1 (diff) | |
download | nextcloud-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.js | 7 |
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/'; } |