Skip to content

Commit 6e6f455

Browse files
ENGCOM-5266: Backport apply coupoun and scroll top to check. applied successfully or not #23195
- Merge Pull Request #23195 from krnshah/magento2:backport-Apply-coupoun-and-scroll-top-to-check.-applied-successfully-or-not - Merged commits: 1. d4e7f56 2. f17e40a 3. e910bb3 4. d717117
2 parents 9e8955c + d717117 commit 6e6f455

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
@@ -569,6 +569,9 @@ define([
569569
applyCoupon : function(code){
570570
this.loadArea(['items', 'shipping_method', 'totals', 'billing_method'], true, {'order[coupon][code]':code, reset_shipping: 0});
571571
this.orderItemChanged = false;
572+
jQuery('html, body').animate({
573+
scrollTop: 0
574+
});
572575
},
573576

574577
addProduct : function(id){

0 commit comments

Comments
 (0)