diff --git a/src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp b/src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp index 3c79d5ca..e6b90043 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp @@ -69,8 +69,8 @@ function getSelectedUser() { userSelector.search = () => { userSelector.query = { - by: userSelector.find("by").value, - term: userSelector.find("term").value + by: userSelector.find("name","by").value, + term: userSelector.find("name","term").value }; userSelector.load(1); } @@ -80,9 +80,9 @@ userSelector.onDatasetChange = obj => { let empty = list.empty; let trs = empty ? - [userSelector.find("userNotFound").innerHTML] : - list.inStrings(userSelector.find("userRow").innerHTML); - userSelector.find("userList").innerHTML = trs.join(""); + [userSelector.find("name","userNotFound").innerHTML] : + list.inStrings(userSelector.find("name","userRow").innerHTML); + userSelector.find("name","userList").innerHTML = trs.join(""); userSelector.querySelector("[name='userThead'] th input[type='checkbox']").checked = false; $(userSelector.selector("[name='userPaging']")).setPaging({