Namely when using the overlay module, the ID's of submit buttons can vary. i.e if you have 3 forms on the page then the ID of the submit button becomes edit-submit--2.
The 'file add' form explicitly checks for 'edit-submit', if it doesn't match the form will never save. Attached is a patch to fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | file_entity-1995294-2.patch | 950 bytes | mauritsl |
| file_entity-file-add-overlay-fix.patch | 974 bytes | Paul Lomax |
Comments
Comment #2
mauritsl commentedRerolled patch with latest rev.
Comment #3
aaron commentedI am unable to reproduce the original issue, but looking at the code it seems sound. Additionally, running it doesn't break the site.
Comment #4
aaron commented#2: file_entity-1995294-2.patch queued for re-testing.
Comment #5
aaron commentedCommitted to http://drupalcode.org/project/file_entity.git/commit/46279e2