summaryrefslogtreecommitdiff
path: root/js/PrefUsers.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-06-04 23:27:22 +0300
committerAndrew Dolgov <[email protected]>2020-06-04 23:27:22 +0300
commit88027d7a3913872c16f42cb9d9d713aa994eb034 (patch)
tree1fe058c07c0e5d532c063bd0e4e7b69a47096ae2 /js/PrefUsers.js
parent755662a9d756fffa225343da847de2a36f464c7b (diff)
fix various minor issues reported by eslint
Diffstat (limited to 'js/PrefUsers.js')
-rw-r--r--js/PrefUsers.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/PrefUsers.js b/js/PrefUsers.js
index 1e7ed6523..8136e9c65 100644
--- a/js/PrefUsers.js
+++ b/js/PrefUsers.js
@@ -1,5 +1,7 @@
'use strict'
-/* global __, ngettext */
+
+/* global __ */
+/* global xhrPost, dojo, dijit, Notify, Tables */
const Users = {
reload: function(sort) {
@@ -39,7 +41,7 @@ const Users = {
if (this.validate()) {
Notify.progress("Saving data...", true);
- xhrPost("backend.php", dojo.formToObject("user_edit_form"), (transport) => {
+ xhrPost("backend.php", dojo.formToObject("user_edit_form"), (/* transport */) => {
dialog.hide();
Users.reload();
});