Skip to content

Commit 198111d

Browse files
author
Oleksandr Dubovyk
committed
MAGETWO-97259: [2.3] If an request includes required image attribute, the admin user cannot process save
1 parent 4ee3bb3 commit 198111d

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
@@ -1134,8 +1134,8 @@
11341134
if (!result) {
11351135
ovId = $(elm).attr('id') + '_value';
11361136

1137-
if ($(ovId)) {
1138-
result = !$.mage.isEmptyNoTrim($(ovId).val());
1137+
if ($('#' + ovId)) {
1138+
result = !$.mage.isEmptyNoTrim($('#' + ovId).val());
11391139
}
11401140
}
11411141

0 commit comments

Comments
 (0)