This commit is contained in:
JSYOO 2021-12-01 15:35:02 +09:00
parent c864724a2a
commit 5101afaacf

View File

@ -103,7 +103,7 @@ $(document).ready(function() {
html = "<li><button type=\"button\" onclick=\"function('');\" title=\"삭제\" name=\""+ $(this).attr('id') +"\">" + depth1 + "<span class=\"sign\"> > </span><input type=\"button\" class=\"del\" value=\"삭제\">"+ depth2 +"</button></li>" html = "<li><button type=\"button\" onclick=\"function('');\" title=\"삭제\" name=\""+ $(this).attr('id') +"\">" + depth1 + "<span class=\"sign\"> > </span><input type=\"button\" class=\"del\" value=\"삭제\">"+ depth2 +"</button></li>"
$(this).parents('.depth2').siblings('.depth1-check').find('input').prop('checked', true); $(this).parents('.depth2').siblings('.depth1-check').find('input').prop('checked', true);
$(this).parents('.conditions-box').siblings('.selected-conditions').find('.conditions').append(html); $(this).parents('.conditions-box').siblings('.selected-conditions').find('.conditions').append(html);
} else { } else {
$("button[name="+$(this).attr('id')+"]").remove(); $("button[name="+$(this).attr('id')+"]").remove();