Skip to content

Commit 1a62a10

Browse files
author
Kunal Soni
committed
Resolve issue 20038
1 parent 19fcb92 commit 1a62a10

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Braintree/view/adminhtml/web/js

1 file changed

+2
-2
lines changed

app/code/Magento/Braintree/view/adminhtml/web/js/braintree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ define([
300300
submitOrder: function () {
301301
this.$selector.validate().form();
302302
this.$selector.trigger('afterValidate.beforeSubmit');
303-
$('body').trigger('processStop');
304-
303+
305304
// validate parent form
306305
if (this.$selector.validate().errorList.length) {
306+
$('body').trigger('processStop');
307307
return false;
308308
}
309309

0 commit comments

Comments
 (0)