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.
When using newer versions of jQuery with jquery_update, this error is encountered when trying to upload files.
Uncaught TypeError: Object function (a,b){return new d.fn.init(a,b,g)} has no method 'handleError'
The upload works, however no feedback is given to the user.
It is the same issue as for IMCE 7.x branch, #1034638: IMCE upload hangs but works? .
Comment | File | Size | Author |
---|---|---|---|
#1 | imce-update-to-jquery-form-plugin-2-67-1955238-1.patch | 19.42 KB | Agileware |
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedSee patch for 6.x branch. Same solution as for 7.x.
Comment #2
ufku CreditAttribution: ufku commentedNote that jquery.form2.67 won't work with jquery1.2.6 which is the default in Drupal6.
I've committed a patch to allow jquery_update replace IMCE's jquery.form for jQuery1.7.
This however won't work until jquery_update provides a jquery.form version compatible with jQuery1.7. It is currently providing 2.43 which fails with 1.7. You can post about this incompatibility at #1067290: Fix jQuery 1.7 for Drupal 6.
Comment #3.0
(not verified) CreditAttribution: commentedExtra text to help ppl googling.