Skip to content

Commit

Permalink
[fixes #84] Checkbox is not real-time editing
Browse files Browse the repository at this point in the history
  • Loading branch information
fxiao committed Nov 20, 2013
1 parent 6138161 commit bbf58b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xadmin/static/xadmin/js/xadmin.plugin.editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

var off_check_box = Object();
this.$form.find('input[type=checkbox]').each(function(){
if(!$(this).attr('checked')){
if(!$(this).is(':checked')){
off_check_box[$(this).attr('name')] = ''
}
})
Expand Down

0 comments on commit bbf58b8

Please sign in to comment.