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([
14931493 }
14941494
14951495 if ( action === 'change' ) {
1496- var self = this ,
1497- confirmText = message . replace ( / % s / , customerGroupOption . text ) ;
1496+ var confirmText = message . replace ( / % s / , customerGroupOption . text ) ;
14981497 confirmText = confirmText . replace ( / % s / , currentCustomerGroupTitle ) ;
14991498 confirm ( {
15001499 content : confirmText ,
@@ -1503,8 +1502,8 @@ define([
15031502 $$ ( '#' + groupIdHtmlId + ' option' ) . each ( function ( o ) {
15041503 o . selected = o . readAttribute ( 'value' ) == groupId ;
15051504 } ) ;
1506- self . accountGroupChange ( ) ;
1507- }
1505+ this . accountGroupChange ( ) ;
1506+ } . bind ( this )
15081507 }
15091508 } )
15101509 } else if ( action === 'inform' ) {
You can’t perform that action at this time.
0 commit comments