|
|
@ -69,8 +69,8 @@ function getSelectedUser() {
|
|
|
|
|
|
|
|
|
|
|
|
userSelector.search = () => {
|
|
|
|
userSelector.search = () => {
|
|
|
|
userSelector.query = {
|
|
|
|
userSelector.query = {
|
|
|
|
by: userSelector.find("by").value,
|
|
|
|
by: userSelector.find("name","by").value,
|
|
|
|
term: userSelector.find("term").value
|
|
|
|
term: userSelector.find("name","term").value
|
|
|
|
};
|
|
|
|
};
|
|
|
|
userSelector.load(1);
|
|
|
|
userSelector.load(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -80,9 +80,9 @@ userSelector.onDatasetChange = obj => {
|
|
|
|
let empty = list.empty;
|
|
|
|
let empty = list.empty;
|
|
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
let trs = empty ?
|
|
|
|
[userSelector.find("userNotFound").innerHTML] :
|
|
|
|
[userSelector.find("name","userNotFound").innerHTML] :
|
|
|
|
list.inStrings(userSelector.find("userRow").innerHTML);
|
|
|
|
list.inStrings(userSelector.find("name","userRow").innerHTML);
|
|
|
|
userSelector.find("userList").innerHTML = trs.join("");
|
|
|
|
userSelector.find("name","userList").innerHTML = trs.join("");
|
|
|
|
userSelector.querySelector("[name='userThead'] th input[type='checkbox']").checked = false;
|
|
|
|
userSelector.querySelector("[name='userThead'] th input[type='checkbox']").checked = false;
|
|
|
|
|
|
|
|
|
|
|
|
$(userSelector.selector("[name='userPaging']")).setPaging({
|
|
|
|
$(userSelector.selector("[name='userPaging']")).setPaging({
|
|
|
|