same, but for preferences

master
Andrew Dolgov 5 years ago
parent e37f8cfa78
commit 30ed5d7c3c

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

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

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

Loading…
Cancel
Save