diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-28 18:52:18 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-29 15:04:55 +0100 |
commit | 1bdd0c949bca2f68da0ab3f47efbec10a7e51702 (patch) | |
tree | 62fbadd89e54810cc4c60ba6887cb0bc3e8d28f5 /settings/js | |
parent | ab4ade0d24e9bba51bbdaac9a5fe06a3eff63355 (diff) | |
download | nextcloud-server-1bdd0c949bca2f68da0ab3f47efbec10a7e51702.tar.gz nextcloud-server-1bdd0c949bca2f68da0ab3f47efbec10a7e51702.zip |
Move and fix app setting navigation detect
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index e45abf9b3dd..c4c36b4bb12 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -91,7 +91,7 @@ OC.Settings.Apps = OC.Settings.Apps || { return app; }, removeNavigation: function(appid){ - $.getJSON(OC.filePath('core','ajax','navigationdetect.php'), {app: appid}).done(function(response){ + $.getJSON(OC.filePath('settings', 'ajax', 'navigationdetect.php'), {app: appid}).done(function(response){ if(response.status === 'success'){ var navIds=response.nav_ids; for(var i=0; i< navIds.length; i++){ @@ -101,7 +101,7 @@ OC.Settings.Apps = OC.Settings.Apps || { }); }, addNavigation: function(appid){ - $.getJSON(OC.filePath('core','ajax','navigationdetect.php'), {app: appid}).done(function(response){ + $.getJSON(OC.filePath('settings', 'ajax', 'navigationdetect.php'), {app: appid}).done(function(response){ if(response.status === 'success'){ var navEntries=response.nav_entries; for(var i=0; i< navEntries.length; i++){ |