Browse Source

Merge pull request #4747 from akkivarma10/bug/4746

Fix bug - 4746 - Column checkbox not being disabled in case of toggleAll
Dustin Utecht 6 years ago
parent
commit
3949346db1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -2342,7 +2342,7 @@ class BootstrapTable {
     this.initBody()
 
     if (this.options.showColumns) {
-      const $items = this.$toolbar.find('.keep-open input').prop('disabled', false)
+      const $items = this.$toolbar.find('.keep-open input:not(".toggle-all")').prop('disabled', false)
 
       if (needUpdate) {
         $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked)