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.
Hi,
I encountered a small issue where Plup would cause a javascript error "TypeError: j is undefined" when editing a node where the content type has two image fields, with only one is set use Plup.
If the user removes the image from the field not using Plup, the attach behavior is called but settings.plup is null and the jQuery.each loop fails.
Attached is a small patch that fixes this.
Comment | File | Size | Author |
---|---|---|---|
plup-undefined-setting.patch | 380 bytes | gfilliere |
Comments
Comment #1
mikhailkrainiuk CreditAttribution: mikhailkrainiuk at DrupalJedi commentedThis patch works correctly.
Thank you!