This commit is contained in:
Ji Yong, Kim 2020-11-01 16:56:41 +09:00
parent 15e66c2c6a
commit 730d43d215

View file

@ -147,6 +147,7 @@ function clearValue(){
// clear value
$w.find('input[type="text"], textarea').val('');
$w.find('.x_inline.checked').removeClass('checked');
$w.find('input[type="checkbox"]').removeAttr('checked');
$w.find('.lang_code').trigger('reload-multilingual');
$w.find('.color-indicator').trigger('keyup');
@ -195,7 +196,8 @@ function modifyNode(node,e){
$w.find('textarea[name="category_description"]').val(data.category_info.description).trigger('reload-multilingual');
for(var i in data.category_info.group_srls){
var group_srl = data.category_info.group_srls[i];
$w.find('input[name="group_srls[]"][value="' + group_srl + '"]').attr('checked', 'checked');
$w.find('input[name="group_srls[]"][value="' + group_srl + '"]').attr('checked', 'checked')
.parent().addClass('checked');
}
if(data.category_info.expand == 'Y'){
$w.find('input[name="expand"]').attr('checked', 'checked');