File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
app/code/Magento/Catalog/view/adminhtml/web/js Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ define([
132
132
at : 'center top' ,
133
133
of : 'body'
134
134
} ,
135
+ create : function ( event , ui ) {
136
+ $ ( document ) . on ( 'click' , '#productGrid_massaction-form button' , function ( ) {
137
+ $ ( '#import-custom-options-apply-button' ) . trigger ( 'click' , 'massActionTrigger' ) ;
138
+ } ) ;
139
+ } ,
135
140
open : function ( ) {
136
141
$ ( this ) . closest ( '.ui-dialog' ) . addClass ( 'ui-dialog-active' ) ;
137
142
@@ -195,19 +200,14 @@ define([
195
200
} ]
196
201
} ) ;
197
202
importContainer . load (
198
- this . options . productGridUrl , {
199
- form_key : this . options . formKey
200
- } ,
203
+ this . options . productGridUrl ,
204
+ { form_key : this . options . formKey } ,
201
205
function ( ) {
202
206
importContainer . dialog ( 'open' ) ;
203
207
}
204
208
) ;
205
209
} ,
206
210
207
- 'click #productGrid_massaction-form button' : function ( ) {
208
- $ ( '#import-custom-options-apply-button' ) . trigger ( 'click' , 'massActionTrigger' ) ;
209
- } ,
210
-
211
211
/**
212
212
* Change custom option type
213
213
*/
@@ -470,4 +470,4 @@ define([
470
470
}
471
471
} ) ;
472
472
473
- } ) ;
473
+ } ) ;
You can’t perform that action at this time.
0 commit comments