Skip to content

Commit a1745e1

Browse files
ENGCOM-5266: Backport apply coupoun and scroll top to check. applied successfully or not #23195
2 parents 9e8955c + 6e6f455 commit a1745e1

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)