Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #836 from ezsystems/ezp-26951_duplicated_message
Browse files Browse the repository at this point in the history
EZP-26951: Duplicated messages in error messages
  • Loading branch information
dpobel authored Apr 25, 2017
2 parents fa9e063 + 8745577 commit e9e16fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/js/views/fields/ez-date-editview.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ YUI.add('ez-date-editview', function (Y) {
if ( validity.valueMissing ) {
this.set('errorStatus', Y.eZ.trans('this.field.is.required', {}, 'fieldedit'));
} else if ( validity.badInput ) {
this.set('errorStatus', Y.eZ.trans('input.not.valid', {}, 'fieldedit'));
this.set('errorStatus', Y.eZ.trans('invalid.input', {}, 'fieldedit'));
} else {
this.set('errorStatus', false);
}
Expand Down

0 comments on commit e9e16fa

Please # to comment.