From b94b16d081fe04b8b7569328a8e41b71939617f6 Mon Sep 17 00:00:00 2001 From: dewekk <60457472+dewekk@users.noreply.github.com> Date: Sun, 30 Mar 2025 14:13:02 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=80=EC=9E=85=20=ED=8F=BC=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=EC=8B=9C=20=ED=95=98=EC=9C=84=20input=20id,=20name?= =?UTF-8?q?=20=EC=86=8D=EC=84=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 가입 폼 이동 시 복제되는 input의 id, name 속성을 제거하여, 중복을 방지합니다. --- modules/admin/tpl/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index 02d6ae0c8..f3152ef88 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -1299,7 +1299,7 @@ jQuery(function($){ position = {x:event.pageX, y:event.pageY}; offset = getOffset($tr.get(0), ofspar); - $clone = $tr.attr('target', true).clone(true).appendTo($table); + $clone = $tr.attr('target', true).clone(true).find('input').removeAttr('id name').end().appendTo($table); // get colspan cols = ($th=$table.find('thead th')).length;