#15915 Use shippingMethodView variable instead this in ajax callback inside the onAddShippingMethodSubmitted method

This commit is contained in:
Sofyan Sitorus 2017-07-02 05:14:45 +07:00
parent f28dcee104
commit 38411f7fb2
2 changed files with 2 additions and 2 deletions

View File

@ -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