Browse Source

Fixed remove toolbar when click cardView button.

unknown 10 years ago
parent
commit
257cbfa62b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/bootstrap-table.js

+ 2 - 1
src/bootstrap-table.js

@@ -810,7 +810,8 @@
                 .off('click').on('click', function () {
                 .off('click').on('click', function () {
                     that.options.cardView = !that.options.cardView;
                     that.options.cardView = !that.options.cardView;
                     that.initHeader();
                     that.initHeader();
-                    that.initToolbar();
+                    // Fixed remove toolbar when click cardView button.
+                    //that.initToolbar();
                     that.initBody();
                     that.initBody();
                 });
                 });
         }
         }