ソースを参照

Fix #389 Bootstrap-table-flatJSON is not working

Dennis Hernández 11 年 前
コミット
5ffda4fe8c
1 ファイル変更2 行追加4 行削除
  1. 2 4
      src/bootstrap-table.js

+ 2 - 4
src/bootstrap-table.js

@@ -928,10 +928,8 @@
             this.$body = $('<tbody></tbody>').appendTo(this.$el);
         }
 
-        if (this.options.sidePagination === 'server') {
-            data = this.data;
-        }
-
+		//Fix #389 Bootstrap-table-flatJSON is not working
+        
         if (!this.options.pagination || this.options.sidePagination === 'server') {
             this.pageFrom = 1;
             this.pageTo = data.length;