Skip to content

Commit

Permalink
Fix typo of bootstrap-table
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Dec 13, 2017
1 parent c4f309e commit 7056efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -2081,10 +2081,10 @@
},
error: function (res) {
var data = [];
if (this.options.sidePagination === 'server') {
if (that.options.sidePagination === 'server') {
data = {};
data[this.options.totalField] = 0;
data[this.options.dataField] = [];
data[that.options.totalField] = 0;
data[that.options.dataField] = [];
}
that.load(data);
that.trigger('load-error', res.status, res);
Expand Down

0 comments on commit 7056efa

Please sign in to comment.