Permalink
Browse files

fix: 修改booleanRender在grid的edittable设置为false时,还能编辑的bug

  • Loading branch information...
HuYuee committed Jul 12, 2017
1 parent aa53b39 commit d8762b7cd3a815dc07d6d1c1a6936c2688d9e288
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/keroa-grid.js
View
@@ -293,11 +293,11 @@ var GridAdapter = u.BaseAdapter.extend({
$(obj.element).find('input').on('click', function(e) {
$(this).parent().toggleClass('is-checked');
if (!obj.gridObj.options.editable) {
stopEvent(e);
return false;
}
$(this).parent().toggleClass('is-checked');
if ($(this).parent().hasClass('is-checked')) {
this.checked = true;
} else {

0 comments on commit d8762b7

Please sign in to comment.