Skip to content

Commit 3d52e10

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-97009' into 2.2-develop-pr16
2 parents 9469c40 + a7d470a commit 3d52e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/validation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,9 +1126,9 @@
11261126
ovId;
11271127

11281128
if (!result) {
1129-
ovId = $(elm).attr('id') + '_value';
1129+
ovId = $('#' + $(elm).attr('id') + '_value');
11301130

1131-
if ($(ovId)) {
1131+
if (ovId.length > 0) {
11321132
result = !$.mage.isEmptyNoTrim($(ovId).val());
11331133
}
11341134
}

0 commit comments

Comments
 (0)