File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/code/Magento/Catalog/view/adminhtml/web/js Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -132,17 +132,18 @@ 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
138
143
var topMargin = $ ( this ) . closest ( '.ui-dialog' ) . children ( '.ui-dialog-titlebar' ) . outerHeight ( ) + 135 ;
139
144
$ ( this ) . closest ( '.ui-dialog' ) . css ( 'margin-top' , topMargin ) ;
140
145
141
146
$ ( 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
- } ) ;
146
147
} ,
147
148
close : function ( ) {
148
149
$ ( this ) . closest ( '.ui-dialog' ) . removeClass ( 'ui-dialog-active' ) ;
You can’t perform that action at this time.
0 commit comments