Skip to content

Commit 2f34984

Browse files
committed
ACP2E-956: [Magento Cloud] Drag & Drop Multiple Files Into The Gallery Not Working
- Fixed the issue.
1 parent cd826aa commit 2f34984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/view/adminhtml/web/js/media-uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ define([
5353
formData: {
5454
'form_key': window.FORM_KEY
5555
},
56-
dropZone: '[data-tab-panel=image-management]',
56+
dropZone: this.element.find('input[type=file]').closest('[role="dialog"]'),
5757
sequentialUploads: true,
5858
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
5959
maxFileSize: this.options.maxFileSize,

0 commit comments

Comments
 (0)