The Problem:
The Edit form (after Upload) is set as "multiparted" form with the older jquery.form.js (shipped with drupal) this is no problem because it use the jquery ajax submit method. But the newer jquery.form.js thats used with the jquery_update patch this dont work. The new variant dont use the ajax method for submitting the form so we dont get the right imageid (iid).

Why this happend?
The module sets as ajax option "async: false" and waiting for the response. This option only works on the ajax request method. But the new jquery.form.js test if the form uses multipart or has file in it and uses a iframe wrapped mode and dont use the ajax submit...

The fix is simple... remove the "multipart" attribute from the edit form because we dont need it...

the patch will be followed

CommentFileSizeAuthor
#1 remove-multipart-1227678.patch630 bytesblackice2999

Comments

blackice2999’s picture

Status: Active » Needs review
StatusFileSize
new630 bytes

the patch attached

eugenmayer’s picture

Version: 6.x-2.x-dev » 6.x-3.0-rc2
Status: Needs review » Patch (to be ported)

Thanks for the contribution, pretty good catch there. Will be included before the 3.0 stable will be released.