ソースを参照

Merge pull request #390 from djhvscf/master

Fix #389 Bootstrap-table-flatJSON is not working
文翼 11 年 前
コミット
b05562b4dd
1 ファイル変更2 行追加4 行削除
  1. 2 4
      src/bootstrap-table.js

+ 2 - 4
src/bootstrap-table.js

@@ -937,10 +937,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;