ソースを参照

Merge pull request #1385 from hnakamur/add_res_to_on_load_error

Add res to parameter of onLoadError
文翼 10 年 前
コミット
66a9f076eb
1 ファイル変更1 行追加1 行削除
  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) {