jquery.form.js:7Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'handleError'

Because IMCE ships its own version of jquery.form.js, jQuery Update does not replace jquery.forms.js with the latest version. This causes problems if you're using jQuery 1.7.

The easiest fix (for jQuery 1.7 users) is updating the IMCE jquery.forms.js with the latest available from http://malsup.github.com/jquery.form.js.


ufku’s picture

Status: Active » Closed (won't fix)

Latest jquery.form won't work with jQuery 1.2.6 which is shipped with D6.
The one IMCE uses is compatible with both 1.2.6 and 1.3.2(jQuery update).

aidanlis’s picture

yogaf’s picture

Replacing jquery.forms.js with http://malsup.github.com/jquery.form.js did the trick.

eXoSaX’s picture

I have the sam issue on Drupal 7. I am using the latest IMCE module with latest File Sources module.
This is what happens when I Insert a file from IMCE:
IMCE problem screenshot
JavaScript error doesn't happen and in Drupal log there is also no error. I am using jQuery 1.7 with jQuery Update. When I switch to 1.5, it works fine. I am also using ImageField Focus module and I tried without it, but the issue persists.
I tried with the latest jquery.form.js, but the issue persists. Any other solution?

blackandcode’s picture

I have the same bug as eXoSaX.

blackandcode’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Status: Closed (won't fix) » Active

Does anyone have similar problems???

This is good option and good module but without this it is useless...


damien_vancouver’s picture

Title: IMCE does not work with jQuery 1.7 » IMCE does not work with jQuery 1.7 via jquery_update

I also have exactly the same problem as @eXoSaX. I verified that replacing jquery.form.js in IMCE's js/ subdirectory did NOT fix the problem, and that there are no errors in the JS console.

Because Windows 8's Internet Explorer 10 no longer works with jQuery 1.5 on many functions (including Galleria galleries), I am forced to run jQuery_Update to jQuery 1.7. Thanks, Microsoft!

If anyone has a workaround to get IMCE working again, please post it here!

ufku’s picture

Status: Active » Closed (cannot reproduce)

IMCE 7.x was tested to work with jquery_update (1.5, 1.7, 1.8).
Please post your issues to related module's issue queue.

ufku’s picture

Issue summary: View changes

Formatting fix.

mmikitka’s picture

I just added the jQuery Migrate Plugin to jquery_update -- see https://drupal.org/comment/8341311#comment-8341311

All the best,

thegreatone’s picture

I am having the same problem. A site without jquery update enable...imce works perfectly. As soon as I enable jquery update and push the jquery version to 1.7 (as required by the new stuff we are working on) imce stop working. If I set the version of jquery back to default, it works. If set to 1.7, it does not.

What it does:
Everything works fine....imce browser is loading, files are uploading, BUT. When I say "insert file", it goes back to the node edit page and the throbber keep spinning with nothing happening. If I go to an existing node and click on the "remove" button, the same thing happen...the throbber spin but else happen.

I tried to update the jquery module to make use of the migrate option but it's only good if you use jquery 1.9. I tried to replace the jquery.form.js of the imce module...not working.

Any solution or fix I don't know about?