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.
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 CreditAttribution: mauritsl commentedRerolled patch with latest rev.
Comment #3
aaron CreditAttribution: 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 CreditAttribution: aaron commented#2: file_entity-1995294-2.patch queued for re-testing.
Comment #5
aaron CreditAttribution: aaron commentedCommitted to http://drupalcode.org/project/file_entity.git/commit/46279e2