8000 Merge pull request #1385 from hnakamur/add_res_to_on_load_error · coderabsolute/bootstrap-table@66a9f07 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 66a9f07

Browse files
committed
Merge pull request wenzhixin#1385 from hnakamur/add_res_to_on_load_error
Add res to parameter of onLoadError
2 parents ce11568 + 8c62880 commit 66a9f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@
17161716
that.trigger('load-success', res);
17171717
},
17181718
error: function (res) {
1719-
that.trigger('load-error', res.status);
1719+
that.trigger('load-error', res.status, res);
17201720
},
17211721
complete: function () {
17221722
if (!silent) {

0 commit comments

Comments
 (0)
0