issue 2490, Remove js codes for bolding label

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11281 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-18 04:12:15 +00:00
parent 58803a8c2c
commit 11de1924e3
2 changed files with 41 additions and 54 deletions

View file

@ -23,19 +23,6 @@ jQuery(function($){
.parent()
.css('position', 'relative');
// Make selected checkbox elements bold
var $rc_label = $('input:radio+label,input:checkbox+label'), $input_rc = $rc_label.prev('input');
$input_rc
.change(function(){
var name = $(this).attr('name');
$input_rc
.filter(function(){ return this.name == name })
.next('label').css('font-weight', 'normal').end()
.filter(':checked')
.next('label').css('font-weight', 'bold').end();
})
.change();
// Toogle checkbox all
$('.form th>input:checkbox')
.change(function() {