Commit 5f1471c7 authored by git's avatar git Committed by chr.fritsch

Issue #2870708 by mtodor: Theming compatible JS selectors for auto select

parent 3adac3ba
......@@ -52,9 +52,7 @@
if (acceptedFiles.length > 0 && dzInstance.getUploadingFiles().length === 0) {
// First submit accepted files and clear them from list of
// dropped files afterwards.
jQuery(dzInstance.element)
.parent()
.siblings('[name="auto_select_handler"]')
$form.find('[id="auto_select_handler"]')
.trigger('auto_select_enity_browser_widget');
// Remove accepted files -> because they are submitted.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment