DropzoneJS is broken for me because of this line in dropzone.integration.js:

if (selector.once('register-dropzonejs').length !== selector.length)

.once() is not a native jQuery method. It's from the jQuery Once plugin, which is packaged with core, but on which the dropzonejs/integration library has no dependency. So we'll need to add that. Patch coming shortly.

CommentFileSizeAuthor
#2 2868449-2.patch360 bytesphenaproxima
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Status: Active » Needs review
FileSize
360 bytes

  • Primsi committed e346391 on 8.x-1.x authored by phenaproxima
    Issue #2868449 by phenaproxima: dropzonejs/integration library is...
Primsi’s picture

Status: Needs review » Fixed

Committed, thanks.

slasher13’s picture

Status: Fixed » Needs work

Why was the jquery dependency removed?

js/dropzone.integration.js depends on jquery.

chr.fritsch’s picture

Status: Needs work » Fixed

The jquery dependency was replaced by jquery.once, which has a dependency on jquery. That means dropzone.integration.js has a dependency on jquery implicitly.

Status: Fixed » Closed (fixed)

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