Browse Source

Merge pull request #1385 from hnakamur/add_res_to_on_load_error

Add res to parameter of onLoadError
文翼 10 years ago
parent
commit
66a9f076eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1716,7 +1716,7 @@
                 that.trigger('load-success', res);
             },
             error: function (res) {
-                that.trigger('load-error', res.status);
+                that.trigger('load-error', res.status, res);
             },
             complete: function () {
                 if (!silent) {