Skip to content

Commit a99e19c

Browse files
ENGCOM-5324: Fixed #20038 loading icon disappearing before background process completes for Braintree payment in Admin #22675
- Merge Pull Request #22675 from kunal-rtpl/magento2:fix-20038 - Merged commits: 1. 1a62a10 2. c1a2bd7
2 parents ef49ac6 + c1a2bd7 commit a99e19c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ define([
295295

296296
self.$selector.validate().form();
297297
self.$selector.trigger('afterValidate.beforeSubmit');
298-
$('body').trigger('processStop');
299298

300299
// validate parent form
301300
if (self.$selector.validate().errorList.length) {
301+
$('body').trigger('processStop');
302302
return false;
303303
}
304304

0 commit comments

Comments
 (0)