가입 폼 이동 시 하위 input id, name 속성 제거

가입 폼 이동 시 복제되는 input의 id, name 속성을 제거하여, 중복을 방지합니다.
This commit is contained in:
dewekk 2025-03-30 14:13:02 +09:00 committed by GitHub
parent f613841a1b
commit b94b16d081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;