diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-07-23 08:48:02 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-07-23 08:48:02 +0300 |
commit | 0f23a622bc6fb3fdda9f20dd52b6bc85a1610113 (patch) | |
tree | 0fcb2ffc73d74ee9210f10f7854c7e1204acd64a /js | |
parent | efe576cdc01ecf704957377f0a74986c348467e8 (diff) |
Use the router for the server privileges page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'js')
-rw-r--r-- | js/server/privileges.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/server/privileges.js b/js/server/privileges.js index 20134bed7b..a3832bec9f 100644 --- a/js/server/privileges.js +++ b/js/server/privileges.js @@ -65,7 +65,7 @@ function checkPasswordStrength (value, meterObject, meterObjectLabel, username) } /** - * AJAX scripts for server_privileges page. + * AJAX scripts for /server/privileges page. * * Actions ajaxified here: * Add user @@ -245,7 +245,7 @@ AJAX.registerOnload('server/privileges.js', function () { var $message = Functions.ajaxShowMessage(); var argsep = CommonParams.get('arg_separator'); $.post( - 'server_privileges.php', + 'index.php?route=/server/privileges', $('#changeUserGroupDialog').find('form').serialize() + argsep + 'ajax_request=1', function (data) { Functions.ajaxRemoveMessage($message); |