mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
issue 486: reset label style
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9879 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f572ed8363
commit
7ffb755090
1 changed files with 13 additions and 5 deletions
|
|
@ -85,6 +85,13 @@ $('form.siteMap')
|
||||||
htmlBuffer += '/> <label for="group_srls_'+groupObj.group_srl+'">'+groupObj.title+'</label>'
|
htmlBuffer += '/> <label for="group_srls_'+groupObj.group_srl+'">'+groupObj.title+'</label>'
|
||||||
}
|
}
|
||||||
$('#groupList').html(htmlBuffer);
|
$('#groupList').html(htmlBuffer);
|
||||||
|
|
||||||
|
// reset label
|
||||||
|
var checked_labels = [];
|
||||||
|
editForm.find('label').css('font-weight', '');
|
||||||
|
editForm.find('input:checked').each(function(){
|
||||||
|
editForm.find('label[for='+this.id+']').css('font-weight', 'bold');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$('a._delete').click(function() {
|
$('a._delete').click(function() {
|
||||||
|
|
@ -116,11 +123,12 @@ $('form.siteMap')
|
||||||
editForm.find('input[name=parent_srl]').val(0);
|
editForm.find('input[name=parent_srl]').val(0);
|
||||||
editForm.find('input[name=menu_name]').val('');
|
editForm.find('input[name=menu_name]').val('');
|
||||||
editForm.find('input[name=cType]').attr('checked', false);
|
editForm.find('input[name=cType]').attr('checked', false);
|
||||||
editForm.find('input=[name=create_menu_url]').val('');
|
editForm.find('input[name=create_menu_url]').val('');
|
||||||
editForm.find('input=[name=select_menu_url]').val('');
|
editForm.find('input[name=select_menu_url]').val('');
|
||||||
editForm.find('input=[name=menu_url]').val('');
|
editForm.find('input[name=menu_url]').val('');
|
||||||
editForm.find('input=[name=menu_open_window]')[0].checked = true;
|
editForm.find('input[name=menu_open_window]')[0].checked = true;
|
||||||
editForm.find('input=[name=group_srls\\[\\]]').attr('checked', false);
|
editForm.find('input[name=group_srls\\[\\]]').attr('checked', false);
|
||||||
|
editForm.find('label').css('font-weight', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
$('a._add').click(function()
|
$('a._add').click(function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue