#15915 Use shippingMethodView variable instead this in ajax callback inside the onAddShippingMethodSubmitted method
This commit is contained in:
parent
f28dcee104
commit
38411f7fb2
|
@ -290,7 +290,7 @@
|
|||
|
||||
// If there were errors, prepend the form.
|
||||
if ( response.data.errors.length > 0 ) {
|
||||
this.showErrors( response.data.errors );
|
||||
shippingMethodView.showErrors( response.data.errors );
|
||||
}
|
||||
|
||||
// Method was saved. Re-render.
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue