ソースを参照

Update bootstrap-table.js

The current master branch version has a bug that selectAll checkbox not reflecting changes accordingly to highlight all rows in the table.
I located the problem is there is a missing update for the selection.
Zirui D Wang 10 年 前
コミット
aef6b43a37
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -790,6 +790,7 @@
             .on('click', '[name="btSelectAll"]', function () {
                 var checked = $(this).prop('checked');
                 that[checked ? 'checkAll' : 'uncheckAll']();
+                that.updateSelected();
             });
     };