Skip to content

Commit e558110

Browse files
committed
Merge branch 'AC-246' of github.com:magento-trigger/magento2ce into AC-246
2 parents 94bd2ef + 1819091 commit e558110

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/web/mage/adminhtml/browser.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ define([
310310
targetEl(data);
311311
} else if (targetEl.is('textarea')) {
312312
this.insertAtCursor(targetEl.get(0), data);
313+
} else {
314+
targetEl
315+
.val(data)
316+
.data('size', fileRow.data('size'))
317+
.data('mime-type', fileRow.data('mime-type'));
313318
}
314319
MediabrowserUtility.closeDialog();
315320

0 commit comments

Comments
 (0)