Browse Source

Merge branch 'develop' into develop

manukieli 6 years ago
parent
commit
b668ccc2c3

+ 1 - 1
src/bootstrap-table.js

@@ -2342,7 +2342,7 @@ class BootstrapTable {
     this.initBody()
     this.initBody()
 
 
     if (this.options.showColumns) {
     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) {
       if (needUpdate) {
         $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked)
         $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked)

+ 2 - 2
src/extensions/filter-control/bootstrap-table-filter-control.js

@@ -792,11 +792,11 @@ $.BootstrapTable = class extends $.BootstrapTable {
     super.initToolbar()
     super.initToolbar()
   }
   }
 
 
-  resetSearch () {
+  resetSearch (text) {
     if (this.options.filterControl && this.options.showSearchClearButton) {
     if (this.options.filterControl && this.options.showSearchClearButton) {
       this.clearFilterControl()
       this.clearFilterControl()
     }
     }
-    super.resetSearch()
+    super.resetSearch(text)
   }
   }
 
 
   clearFilterControl () {
   clearFilterControl () {