Skip to content

Commit a7d470a

Browse files
author
Mastiuhin Olexandr
committed
MAGETWO-97009: If an RMA request includes required image attribute, the admin user cannot process the return
1 parent 6b109f4 commit a7d470a

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)