From 327196935df77fdb074c45ae4a1f6b1af580f112 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 17 Apr 2023 16:31:40 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20setFormData=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/framework/js/cmm/cmmUtil.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/resources/framework/js/cmm/cmmUtil.js b/src/main/webapp/resources/framework/js/cmm/cmmUtil.js index 7ad48d1b..02ed7b5e 100644 --- a/src/main/webapp/resources/framework/js/cmm/cmmUtil.js +++ b/src/main/webapp/resources/framework/js/cmm/cmmUtil.js @@ -595,7 +595,10 @@ function setFormData(formObj, jsonData, idx= 0){ } } - document.getElementsByName(e.name)[idx].value = val; + + if(e.name){ + document.getElementsByName(e.name)[idx].value = val; + } } }