Browse Source

Merge pull request #1488 from elexonics/patch-2

Update bootstrap-table.js
文翼 10 years ago
parent
commit
f901ab8372
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

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