From e0a024a381a687a533199d5342fe7660b048cfaa Mon Sep 17 00:00:00 2001 From: Leeyh1121 <130335980+Leeyh1121@users.noreply.github.com> Date: Fri, 5 Jul 2024 18:17:20 +0900 Subject: [PATCH] =?UTF-8?q?fit=20:=20=EC=A1=B0=ED=9A=8C=EA=B1=B4=EC=88=98?= =?UTF-8?q?=EA=B0=80=20=EC=97=86=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=EB=A5=BC=20=EC=B0=BE=EC=A7=80=EB=AA=BB=ED=96=88?= =?UTF-8?q?=EC=8A=B5=EB=8B=88=EB=8B=A4=20=EB=9D=BC=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EA=B5=AC=20=EC=B6=9C=EB=A0=A5=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EC=83=81=EC=84=B8=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp index 0334c0a..bc9cf62 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp @@ -258,7 +258,10 @@ // 현재 선택 자료 변경 이벤트 $P.control.onCurrentChange = item => { - if (!item) return; + if (!item) { + $P.detailControl.setData([]); + return; + } let key = item.data.keyCnt; $("#tbody--${pageName}").setCurrentRow(key); @@ -316,7 +319,7 @@ .replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("keyCnt") + "');"); // .replace(/{ondblclick}/gi, "pageObject['${pageName}'].fnSave()"); - let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] + let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); let noMore = (totalSize == ${infoPrefix}List.length);