same, but for preferences

This commit is contained in:
Andrew Dolgov 2020-06-04 20:04:17 +03:00
parent e37f8cfa78
commit 30ed5d7c3c
3 changed files with 319 additions and 331 deletions

View File

@ -1,5 +1,4 @@
define(["dojo/_base/declare"], function (declare) {
Helpers = {
const Helpers = {
AppPasswords: {
getSelected: function() {
return Tables.getSelected("app-password-list");
@ -269,6 +268,3 @@ define(["dojo/_base/declare"], function (declare) {
},
}
};
return Helpers;
});

View File

@ -1,7 +1,7 @@
'use strict'
/* global __, ngettext */
define(["dojo/_base/declare"], function (declare) {
Users = {
const Users = {
reload: function(sort) {
const user_search = $("user_search");
const search = user_search ? user_search.value : "";
@ -116,7 +116,3 @@ define(["dojo/_base/declare"], function (declare) {
}
}
return Users;
});

View File

@ -2,10 +2,6 @@
/* global dijit, __ */
let App;
let CommonDialogs;
let Filters;
let Users;
let Helpers;
const Plugins = {};