Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2870708_2.patch | 867 bytes | mtodor |
Comments
Comment #2
mtodor CreditAttribution: mtodor at Thunder commentedHere is proposed solution. Instead searching relative to dropzonejs element, element will be searched inside dropzonejs widget form.
Comment #3
daniel.bosenThe patch works for us for months now, would love to see this merged!
Comment #4
chr.fritschCommitted to 8.x-2.x