From 36994a57b69b76a7d304b3a4f5d11cf7ee647003 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Wed, 5 Aug 2026 15:23:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8D=EC=84=B1=20=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95=20-=20=EB=8B=A4?= =?UTF-8?q?=EC=A4=91=EB=9D=BC=EC=9D=B8=20=EA=B0=92=20=ED=8E=B8=EC=A7=91=20?= =?UTF-8?q?=EB=B0=8F=20=EC=A4=84=EB=B0=94=EA=BF=88=20=EC=A7=80=EC=9B=90=20?= =?UTF-8?q?PRPTY2VAL=20=EC=86=8D=EC=84=B1=20=EC=88=98=EC=A0=95=20-=20prpty?= =?UTF-8?q?2Val=20=EC=9E=85=EB=A0=A5=20=ED=95=84=EB=93=9C=20=ED=85=8D?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=98=81=EC=97=AD=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20-=20jQuery=20=EC=84=A0=ED=83=9D=EC=9E=90?= =?UTF-8?q?=20=EA=B0=84=EC=86=8C=ED=99=94=20``=20=E2=86=92=20``=20for=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../onl/apim/portalproperty/propertyMan.jsp | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/WebContent/jsp/onl/apim/portalproperty/propertyMan.jsp b/WebContent/jsp/onl/apim/portalproperty/propertyMan.jsp index 334aaf4..b1602dd 100644 --- a/WebContent/jsp/onl/apim/portalproperty/propertyMan.jsp +++ b/WebContent/jsp/onl/apim/portalproperty/propertyMan.jsp @@ -40,7 +40,7 @@ if ($('input[name=prptyName]').val() == "") { alert("<%= localeMessage.getString("propertyDetail.checkRequired2") %>"); return false; - } else if ($('input[name=prpty2Val]').val() == "") { + } else if ($('[name=prpty2Val]').val() == "") { alert("<%= localeMessage.getString("propertyDetail.checkRequired3") %>"); return false; } @@ -90,7 +90,19 @@ '설명', '<%= localeMessage.getString("propertyDetail.delYn") %>'], colModel: [{name: 'PRPTYNAME', width: 50, align: 'left', editable: true}, - {name: 'PRPTY2VAL', width: 150, align: 'left', editable: true}, + { + name: 'PRPTY2VAL', + width: 150, + align: 'left', + editable: true, + //다행(멀티라인) 값 편집 — 관련 사이트 목록처럼 줄 단위 표기하는 값 지원 + edittype: 'textarea', + editoptions: {rows: 3, cols: 60}, + //줄바꿈이 그리드에서도 그대로 보이도록 + cellattr: function () { + return ' style="white-space:pre-line; word-break:break-all;"'; + } + }, {name: 'PRPTYDESC', width: 200, align: 'left', editable: true, edittype: 'textarea', editoptions: {rows: 2}}, { name: 'DELETEYN', @@ -265,7 +277,7 @@ } var data = new Object(); data["PRPTYNAME"] = $("input[name=prptyName]").val(); - data["PRPTY2VAL"] = $("input[name=prpty2Val]").val(); + data["PRPTY2VAL"] = $("[name=prpty2Val]").val(); data["PRPTYDESC"] = $("input[name=prptyDesc]").val(); var rows = $("#grid")[0].rows; @@ -346,7 +358,8 @@ <%= localeMessage.getString("propertyDetail.propertyValue") %> - +