From 871ec4d16cabfdb5750496a0eec3f51b55d13ba0 Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 5 Jul 2024 16:05:53 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=A6=AC=EB=93=9C=20=EC=A0=9C?= =?UTF-8?q?=EB=AA=A9=20=EC=B2=B4=ED=81=AC=EB=B0=95=EC=8A=A4=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=EC=B2=98=EB=A6=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp | 7 ++++--- .../WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp | 4 ++-- .../webapp/WEB-INF/jsp/base/authority/authority-main.jsp | 4 ++-- src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp | 7 ++++--- src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp | 4 ++-- src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp | 7 ++++--- src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp | 4 ++-- 7 files changed, 20 insertions(+), 17 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp index 4da949c2..44526624 100644 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp @@ -31,7 +31,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -138,7 +138,8 @@ function renderaction${infoPrefix}List() { [document.getElementById("action${infoPrefix}NotFound").innerHTML] : <%-- from template#action${infoPrefix}NotFound --%> ${infoPrefix}List.inStrings(document.getElementById("action${infoPrefix}Row").innerHTML); <%-- from template#action${infoPrefix}Row --%> $("#action${infoPrefix}List").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#action${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); + $("#actionThead").find("th input[type='checkbox']").prop("checked", false); } action${infoPrefix}Control.onGroupListChange = obj => { diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp index 029535e7..752ca2cd 100644 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp @@ -26,7 +26,7 @@ - + @@ -85,7 +85,7 @@ ${infoPrefix}Control.onGroupListChange = obj => { [document.getElementById("_action${infoPrefix}NotFound").innerHTML] : <%-- from template#_action${infoPrefix}NotFound --%> ${infoPrefix}List.inStrings(document.getElementById("_action${infoPrefix}Row").innerHTML); <%-- from template#_action${infoPrefix}Row --%> $("#_action${infoPrefix}List").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#_action${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); $("#_action${infoPrefix}Paging").setPaging({ list:${infoPrefix}Control.groups.dataset, diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp index c04e3c8a..4f7d5c30 100644 --- a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp @@ -32,7 +32,7 @@ - + @@ -114,7 +114,7 @@ function render${infoPrefix}List() { [document.getElementById("${infoPrefix}NotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> ${infoPrefix}List.inStrings(document.getElementById("${infoPrefix}Row").innerHTML); <%-- from template#${infoPrefix}Row --%> $("#${infoPrefix}List").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); } ${infoPrefix}Control.onAuthorityListChange = obj => { diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp index 32992fe6..7f81c32d 100644 --- a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp @@ -25,7 +25,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -136,7 +136,8 @@ function renderGroupList() { (tmpl, item) => tmpl.replace(/{notUsed}/gi, item.getValue("USE_YN") == "N" ? "class=\"not-used\"" : "") ); <%-- from template#groupRow --%> $("#groupList").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#groupThead").find("input[type='checkbox']").prop("checked", false); + $("#codeThead").find("input[type='checkbox']").prop("checked", false); } codeControl.onGroupListChange = obj => { 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 f8046233..bda59ef5 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 @@ -20,7 +20,7 @@ - + @@ -85,7 +85,7 @@ ${infoPrefix}Control.onDatasetChange = obj => { [document.getElementById("_${infoPrefix}NotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> ${infoPrefix}List.inStrings(document.getElementById("_${infoPrefix}Row").innerHTML); <%-- from template#${infoPrefix}Row --%> $("#_${infoPrefix}List").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#_${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); $("#_${infoPrefix}Paging").setPaging({ list:${infoPrefix}Control.dataset, diff --git a/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp b/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp index 424f7f68..ee1f2339 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp @@ -25,7 +25,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -138,7 +138,8 @@ function renderSggList() { (tmpl, item) => tmpl.replace(/{notUsed}/gi, item.getValue("USE_YN") == "N" ? "class=\"not-used\"" : "") ); <%-- from template#sggRow --%> $("#sggList").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#sggThead").find("th input[type='checkbox']").prop("checked", false); + $("#deptThead").find("th input[type='checkbox']").prop("checked", false); } sggDeptControl.sggs.onDatasetChange = obj => { diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp index 28252835..4cf9e733 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp @@ -23,7 +23,7 @@
- + @@ -104,7 +104,7 @@ function render${infoPrefix}List() { --%> ); $("#${infoPrefix}List").html(trs.join()); - $("th input[type='checkbox']").prop("checked", false); + $("#${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); } ${infoPrefix}Control.onDatasetChange = obj => {