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 d373b0c commit 8edfe88Copy full SHA for 8edfe88
app/code/Magento/MediaGalleryUi/view/adminhtml/web/js/grid/columns/image/insertImageAction.js
@@ -34,7 +34,7 @@ define([
34
throw $t('Target element not found for content update');
35
}
36
37
- forceStaticPath = typeof targetElement !== 'function' && targetElement.data('force_static_path') ? 1 : 0
+ forceStaticPath = typeof targetElement !== 'function' && targetElement.data('force_static_path') ? 1 : 0;
38
39
$.ajax({
40
url: config.onInsertUrl,
@@ -62,6 +62,7 @@ define([
62
63
}, this));
64
window.MediabrowserUtility.closeDialog();
65
+
66
if (typeof targetElement !== 'function') {
67
targetElement.focus();
68
$(targetElement).trigger('change');
0 commit comments