ソースを参照

Row state field value fix

Set proper row state field value depending on "checked" property of the input.
macias3 11 年 前
コミット
f41248802a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1460,7 +1460,7 @@
         var that = this;
         var that = this;
 
 
         this.$selectItem.each(function () {
         this.$selectItem.each(function () {
-            that.data[$(this).data('index')][that.header.stateField] = checked;
+            that.data[$(this).data('index')][that.header.stateField] = $(this).prop('checked') && checked;
         });
         });
     };
     };