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");
@ -268,7 +267,4 @@ define(["dojo/_base/declare"], function (declare) {
return false; return false;
}, },
} }
}; };
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 : "";
@ -114,9 +114,5 @@ define(["dojo/_base/declare"], function (declare) {
getSelection :function() { getSelection :function() {
return Tables.getSelected("prefUserList"); return Tables.getSelected("prefUserList");
} }
} }
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