diff --git a/app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js b/app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js index ef4c61260fb7e..508101d5d9cb6 100644 --- a/app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js +++ b/app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js @@ -182,6 +182,11 @@ define([ $('#' + fileId).closest('.file-uploader-area').find('.file-uploader-button:first').on('click', function () { $('#' + fileId).closest('.file-uploader-area').find('.uppy-Dashboard-browse').trigger('click'); }); + $('#' + fileId).closest('.pagebuilder-image-uploader-container') + .find('.pagebuilder-options .file-uploader-button:first') + .on('click', function () { + $('#' + fileId).closest('.file-uploader-area').find('.uppy-Dashboard-browse').trigger('click'); + }); }, /**