Skip to content

Commit d717117

Browse files
committed
backport-Apply-coupoun-and-scroll-top-to-check.-applied-successfully-or-not
1 parent e910bb3 commit d717117

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
@@ -561,6 +561,9 @@ define([
561561
applyCoupon : function(code){
562562
this.loadArea(['items', 'shipping_method', 'totals', 'billing_method'], true, {'order[coupon][code]':code, reset_shipping: 0});
563563
this.orderItemChanged = false;
564+
jQuery('html, body').animate({
565+
scrollTop: 0
566+
});
564567
},
565568

566569
addProduct : function(id){

0 commit comments

Comments
 (0)