Merge pull request #15916 from sofyansitorus/master
#15915 Use shippingMethodView variable instead this in ajax callback
This commit is contained in:
commit
6a214c5d5c
|
@ -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