Skip to content

Commit 4549d20

Browse files
ENGCOM-5212: Apply coupoun and scroll top to check. applied successfully or not #22341
- Merge Pull Request #22341 from krnshah/magento2:Apply-coupoun-and-scroll-top-to-check.-applied-successfully-or-not - Merged commits: 1. 9c9b312
2 parents 1656409 + 9c9b312 commit 4549d20

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Sales/view/adminhtml/web/order/create

1 file changed

+3
-0
lines changed

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ define([
573573
applyCoupon : function(code){
574574
this.loadArea(['items', 'shipping_method', 'totals', 'billing_method'], true, {'order[coupon][code]':code, reset_shipping: 0});
575575
this.orderItemChanged = false;
576+
jQuery('html, body').animate({
577+
scrollTop: 0
578+
});
576579
},
577580

578581
addProduct : function(id){

0 commit comments

Comments
 (0)