Let's say we have a imagefield on a node, and use ajax to upload new images.
The user is allowed to enter custom alt and title text.
When I upload a new image, set the alt and title fields, and then upload another image to the same field, the changes to the first image are not kept, and the alt and title fields are reset.

Here's a simple patch to fix it.

CommentFileSizeAuthor
alt_title_not_kept.patch817 bytesbojanz

Comments

dopry’s picture

Status: Needs review » Fixed

Committed to Drupal-5--2. Nice patches Bojanz!

Anonymous’s picture

Status: Fixed » Closed (fixed)