File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
app/code/Magento/Catalog/view/adminhtml/web/js Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,10 @@ define([
139
139
$ ( this ) . closest ( '.ui-dialog' ) . css ( 'margin-top' , topMargin ) ;
140
140
141
141
$ ( this ) . addClass ( 'admin__scope-old' ) ; // ToDo UI: remove with old styles removal
142
+
143
+ $ ( '#productGrid_massaction-form button' ) . on ( 'click' , function ( ) {
144
+ $ ( '#import-custom-options-apply-button' ) . trigger ( 'click' , 'massActionTrigger' ) ;
145
+ } ) ;
142
146
} ,
143
147
close : function ( ) {
144
148
$ ( this ) . closest ( '.ui-dialog' ) . removeClass ( 'ui-dialog-active' ) ;
@@ -195,19 +199,14 @@ define([
195
199
} ]
196
200
} ) ;
197
201
importContainer . load (
198
- this . options . productGridUrl , {
199
- form_key : this . options . formKey
200
- } ,
202
+ this . options . productGridUrl ,
203
+ { form_key : this . options . formKey } ,
201
204
function ( ) {
202
205
importContainer . dialog ( 'open' ) ;
203
206
}
204
207
) ;
205
208
} ,
206
209
207
- 'click #productGrid_massaction-form button' : function ( ) {
208
- $ ( '#import-custom-options-apply-button' ) . trigger ( 'click' , 'massActionTrigger' ) ;
209
- } ,
210
-
211
210
/**
212
211
* Change custom option type
213
212
*/
@@ -470,4 +469,4 @@ define([
470
469
}
471
470
} ) ;
472
471
473
- } ) ;
472
+ } ) ;
You can’t perform that action at this time.
0 commit comments