Skip to content

Commit 76efd53

Browse files
committed
Added changes for AC-12714 error message
1 parent 078c387 commit 76efd53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Customer/view/frontend/web/js/block-submit-on-send.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ define([
1313
var dataForm = $('#' + config.formId);
1414

1515
dataForm.on('submit', function () {
16+
$('#'+ this.id + ' div.mage-error').remove();
1617
$(this).find(':submit').attr('disabled', 'disabled');
1718

1819
if (this.isValid === false) {

0 commit comments

Comments
 (0)