Skip to content

Commit

Permalink
updating code to handle misleading error in add product attribute scr…
Browse files Browse the repository at this point in the history
…een by make error message more genric
  • Loading branch information
aman3103 committed Aug 26, 2018
1 parent 9b01481 commit 9aa4cfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ define([
function (value) {
return utils.isEmptyNoTrim(value) || /^[a-z]+[a-z0-9_]+$/.test(value);
},
$.mage.__('Please use only letters (a-z), numbers (0-9) or underscore (_) in this field, and the first character should be a letter.')//eslint-disable-line max-len
$.mage.__('Please use only lowercase letters (a-z), numbers (0-9) or underscore (_) in this field, and the first character should be a letter.')//eslint-disable-line max-len
],
'validate-alphanum': [
function (value) {
Expand Down

0 comments on commit 9aa4cfa

Please sign in to comment.