Skip to content

Commit 08ef533

Browse files
committed
ACP2E-3710: small fix
1 parent 6cb3302 commit 08ef533

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/web/mage/validation/validation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ define([
2020
}
2121

2222
// eslint-disable-next-line one-var
23-
let $allInputs = $(element)
24-
.closest('.fieldset')
23+
let allInputs = $(element)
24+
.closest('#super-product-table')
2525
.find('input[data-validate*="validate-grouped-qty"]');
2626

27-
if ($allInputs.first().is(element)) {
28-
return $allInputs.toArray().some(input => parseFloat($(input).val()) > 0);
27+
if (allInputs.first().is(element)) {
28+
return allInputs.toArray().some(input => parseFloat($(input).val()) > 0);
2929
}
3030

3131
return true;

0 commit comments

Comments
 (0)