Skip to content

Commit 224f737

Browse files
committed
call form submit if originalSubmitHandler not present
1 parent 97c03f5 commit 224f737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/validation/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
if (element.type === 'checkbox') {
5656
/* If orig-name attribute is present, use it for validation. Else use name */
57-
selector = = element.getAttribute('orig-name') ? '[orig-name="' + element.getAttribute('orig-name') + '"]' : '[name="' + element.name + '"]';
57+
selector = element.getAttribute('orig-name') ? '[orig-name="' + element.getAttribute('orig-name') + '"]' : '[name="' + element.name + '"]';
5858
$(selector).each(function () {
5959
if ($(this).is(':checked')) {
6060
checkedCount += 1;

0 commit comments

Comments
 (0)