커밋
This commit is contained in:
parent
c864724a2a
commit
5101afaacf
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user