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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | remove-multipart-1227678.patch | 630 bytes | blackice2999 |
Comments
Comment #1
blackice2999 commentedthe patch attached
Comment #2
eugenmayer commentedThanks for the contribution, pretty good catch there. Will be included before the 3.0 stable will be released.