We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1ab99 commit d56adbbCopy full SHA for d56adbb
lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js
@@ -293,6 +293,7 @@ define([
293
};
294
295
varienGlobalEvents.fireEvent('open_browser_callback', payload);
296
+ this.eventBus.fireEvent('open_browser_callback', payload);
297
}.bind(this);
298
}
299
@@ -372,7 +373,7 @@ define([
372
373
/**
374
* @param {Object} o
375
*/
- openFileBrowser: function (o) {
376
+ openFileBrowser: _.debounce(function (o) {
377
var typeTitle = this.translate('Select Images'),
378
storeId = this.config['store_id'] ? this.config['store_id'] : 0,
379
frameDialog = jQuery('div.mce-container[role="dialog"]'),
@@ -405,7 +406,7 @@ define([
405
406
407
);
408
});
- },
409
+ }, 250),
410
411
412
* @param {String} string
0 commit comments