Problem/Motivation

When some theme templates are modified and we have different order or nesting of form elements for DropZoneJS widget with auto select functionality, javascript fails because elements are not in expected places.

Proposed resolution

Element selectors should be adjusted to be more flexible in order to find required elements.

CommentFileSizeAuthor
#2 2870708_2.patch867 bytesmtodor

Comments

mtodor created an issue. See original summary.

mtodor’s picture

Status: Active » Needs review
StatusFileSize
new867 bytes

Here is proposed solution. Instead searching relative to dropzonejs element, element will be searched inside dropzonejs widget form.

daniel.bosen’s picture

Status: Needs review » Reviewed & tested by the community

The patch works for us for months now, would love to see this merged!

chr.fritsch’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed to 8.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.