From 9f1a08f89046cc22d43a5169ebe440b6e0e8455f Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 5 Mar 2024 14:10:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=A5=98=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/sinmungo/admin-main.jsp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/sinmungo/admin-main.jsp b/src/main/webapp/WEB-INF/jsp/sinmungo/admin-main.jsp index 488cebc5..32ff3104 100644 --- a/src/main/webapp/WEB-INF/jsp/sinmungo/admin-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/sinmungo/admin-main.jsp @@ -215,8 +215,7 @@ $("#sinmungoTbody--${pageName}").html(""); - var originalDataList = resp.originalDataList; - var backupDataList = resp.backupDataList; + var list = resp.list; if(list != null && list.length > 0){ sinmungoDataset.setData(list); @@ -226,13 +225,15 @@ var empty = sinmungoDataset.empty; - var notFound = [document.getElementById("sggNotFound--${pageName}").innerHTML]; - var found = document.getElementById("sggRow--${pageName}").innerHTML; - var replacer = (str, dataItem) => str.replace(/{onclick}/gi, ""); + var notFound = [document.getElementById("sinmungoNotFound--${pageName}").innerHTML]; + var found = document.getElementById("sinmungoRow--${pageName}").innerHTML; + var replacer = (str, dataItem) => str + .replace(/{onclick}/gi, "fnClickSinmungoList('" + dataItem.getValue("SINMUNGO_INNER_KEY") + "');"); var trs = empty ? notFound : sinmungoDataset.inStrings(found, replacer); $("#sinmungoTbody--${pageName}").html(trs.join()); - + + $("#sinmungoTbody--${pageName}").find("tr").find("td").eq(0).click(); } }); });