From edc0c3c63b331dba114622dd2ee5b3c11b813813 Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 5 Jul 2024 16:05:39 +0900 Subject: [PATCH 1/2] =?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 57d020f..db2c6df 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 @@ -25,7 +25,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -131,7 +131,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 e6b2211..109a3e4 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 @@ -20,7 +20,7 @@ - + @@ -79,7 +79,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 e589874..43da676 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 @@ -25,7 +25,7 @@ - + @@ -106,7 +106,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 6ac3389..2c634c1 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 034e3c2..991aa40 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 @@ - + @@ -79,7 +79,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 424f7f6..ee1f233 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 a052c39..573866a 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 @@
- + @@ -100,7 +100,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 => { From aab676aee4626cf52c3a2bb8c6eca924fca03ac2 Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 5 Jul 2024 16:13:52 +0900 Subject: [PATCH 2/2] =?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 --- src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 43da676..7db42da 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 @@ -64,7 +64,7 @@ -
+
@@ -107,6 +107,7 @@ function render${infoPrefix}List() { ${infoPrefix}List.inStrings(document.getElementById("${infoPrefix}Row").innerHTML); <%-- from template#${infoPrefix}Row --%> $("#${infoPrefix}List").html(trs.join()); $("#${infoPrefix}Thead").find("th input[type='checkbox']").prop("checked", false); + $("#${infoPrefix}RightInclude").find("th input[type='checkbox']").prop("checked", false); } ${infoPrefix}Control.onAuthorityListChange = obj => {