사용자 선택 화면 수정

main
이범준 2 months ago
parent 35a746843a
commit a33d6ccd1d

@ -58,7 +58,7 @@
</div><!--/ Page Body --> </div><!--/ Page Body -->
<script > <script >
var userSelector = newUserControl("[data-doctx='select-user']"); var userSelector = newUserControl("[data-doctx='select-user']");
$(userSelector.doctx[0]).parent().parent().parent().addClass("modal-xl");
function getSelectedUser() { function getSelectedUser() {
let selected = userSelector.dataset.getKeys("selected"); let selected = userSelector.dataset.getKeys("selected");
if (selected.length < 1) if (selected.length < 1)
@ -83,7 +83,7 @@ userSelector.onDatasetChange = obj => {
[userSelector.find("name","userNotFound").innerHTML] : [userSelector.find("name","userNotFound").innerHTML] :
list.inStrings(userSelector.find("name","userRow").innerHTML); list.inStrings(userSelector.find("name","userRow").innerHTML);
userSelector.find("name","userList").innerHTML = trs.join(""); userSelector.find("name","userList").innerHTML = trs.join("");
userSelector.querySelector("[name='userThead'] th input[type='checkbox']").checked = false; userSelector.find("[name='userThead'] th input[type='checkbox']").checked = false;
$(userSelector.selector("[name='userPaging']")).setPaging({ $(userSelector.selector("[name='userPaging']")).setPaging({
list: list, list: list,

Loading…
Cancel
Save