File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/web/mage/adminhtml/wysiwyg/tiny_mce Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ define([
293
293
} ;
294
294
295
295
varienGlobalEvents . fireEvent ( 'open_browser_callback' , payload ) ;
296
+ this . eventBus . fireEvent ( 'open_browser_callback' , payload ) ;
296
297
} . bind ( this ) ;
297
298
}
298
299
@@ -372,7 +373,7 @@ define([
372
373
/**
373
374
* @param {Object } o
374
375
*/
375
- openFileBrowser : function ( o ) {
376
+ openFileBrowser : _ . debounce ( function ( o ) {
376
377
var typeTitle = this . translate ( 'Select Images' ) ,
377
378
storeId = this . config [ 'store_id' ] ? this . config [ 'store_id' ] : 0 ,
378
379
frameDialog = jQuery ( 'div.mce-container[role="dialog"]' ) ,
@@ -405,7 +406,7 @@ define([
405
406
}
406
407
) ;
407
408
} ) ;
408
- } ,
409
+ } , 250 ) ,
409
410
410
411
/**
411
412
* @param {String } string
You can’t perform that action at this time.
0 commit comments