File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/code/Magento/Sales/view/adminhtml/web/order/create Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1493,8 +1493,7 @@ define([
1493
1493
}
1494
1494
1495
1495
if ( action === 'change' ) {
1496
- var self = this ,
1497
- confirmText = message . replace ( / % s / , customerGroupOption . text ) ;
1496
+ var confirmText = message . replace ( / % s / , customerGroupOption . text ) ;
1498
1497
confirmText = confirmText . replace ( / % s / , currentCustomerGroupTitle ) ;
1499
1498
confirm ( {
1500
1499
content : confirmText ,
@@ -1503,8 +1502,8 @@ define([
1503
1502
$$ ( '#' + groupIdHtmlId + ' option' ) . each ( function ( o ) {
1504
1503
o . selected = o . readAttribute ( 'value' ) == groupId ;
1505
1504
} ) ;
1506
- self . accountGroupChange ( ) ;
1507
- }
1505
+ this . accountGroupChange ( ) ;
1506
+ } . bind ( this )
1508
1507
}
1509
1508
} )
1510
1509
} else if ( action === 'inform' ) {
You can’t perform that action at this time.
0 commit comments