Skip to content

Commit

Permalink
Merge pull request bigcommerce#1370 from Ubersmake/STRF-5418
Browse files Browse the repository at this point in the history
Product review modal error message is now accurate.
  • Loading branch information
Ubersmake authored Oct 11, 2018
2 parents 637f480 + 677f1c1 commit 84f0898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Product review modal error message is now accurate. [#1370](https://github.com/bigcommerce/cornerstone/pull/1370)

## 2.5.1 (2018-10-10)
- Fix broken breadcrumb schema markup [#1362](https://github.com/bigcommerce/cornerstone/pull/1362)
Expand Down
4 changes: 2 additions & 2 deletions assets/js/theme/product/reviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ export default class {
errorMessage: this.context.reviewRating,
}, {
selector: '[name="revtitle"]',
validate: 'min-length:2',
validate: 'presence',
errorMessage: this.context.reviewSubject,
}, {
selector: '[name="revtext"]',
validate: 'min-length:2',
validate: 'presence',
errorMessage: this.context.reviewComment,
}, {
selector: '[name="email"]',
Expand Down

0 comments on commit 84f0898

Please sign in to comment.