diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-05 09:42:36 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-05 09:42:36 +0200 |
commit | f3a211c03c3dd017e263ac5226a52eb62562d198 (patch) | |
tree | 4161ed0ab3b5fe695d08dc0d51df0a0ea02fe313 /settings/js | |
parent | 167e9c1cc025ce920e48032ff5331fcb4f84de3d (diff) | |
download | nextcloud-server-f3a211c03c3dd017e263ac5226a52eb62562d198.tar.gz nextcloud-server-f3a211c03c3dd017e263ac5226a52eb62562d198.zip |
Implement routing on javascript side
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 81a3181ba59..1474ebcdd81 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -130,7 +130,7 @@ var UserList={ if (typeof UserList.offset === 'undefined') { UserList.offset = $('tbody tr').length; } - $.get(OC.filePath('settings', 'ajax', 'userlist'), { offset: UserList.offset }, function(result) { + $.get(OC.Router.generate('settings_ajax_userlist', { offset: UserList.offset }), function(result) { if (result.status === 'success') { $.each(result.data, function(index, user) { var tr = UserList.add(user.name, user.groups, user.subadmin, user.quota, false); |