Skip to content

Commit 4691f2f

Browse files
authored
ENGCOM-5212: Apply coupoun and scroll top to check. applied successfully or not #22341
2 parents 9473b31 + 4549d20 commit 4691f2f

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)