featurehelp wanted
仓库指标
- Star
- (5,209 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description:
Seem that error callback has not $form object to access it.
For example other callback have it, like:
beforeSerialize: function($form, options) {
// do something with $form
},
success: function(responseText, statusText, xhr, $form) {
// do something with $form
}
But error has only:
error: function (xhr, status, error) {
// No $form object
},
Expected Behavior:
error: function (xhr, status, error, $form) {
// has $form now
},
Or am I missing something?