chg: [js:api-helper] Show feedback for failure in postForm
parent
a841888db9
commit
7ab3a5bfee
|
@ -381,7 +381,7 @@ class AJAXApi {
|
|||
this.provideSuccessFeedback(data, {}, skipFeedback)
|
||||
toReturn = data;
|
||||
} else {
|
||||
this.provideFailureFeedback(data, {}, skipFeedback)
|
||||
this.provideFailureFeedback(data, {}, false)
|
||||
feedbackShown = true
|
||||
this.injectFormValidationFeedback(form, data.errors)
|
||||
toReturn = Promise.reject(data.errors);
|
||||
|
|
Loading…
Reference in New Issue