Our site is upgrading to imagefield 5.x-2.1
I noticed that if we have a persistent drupal_set_message (i.e. You have 1 friend request.) that this is returned with the response after Upload. See screenshot: http://img.skitch.com/20081027-k1q4wrs1sseacgbeykj57cykp4.png
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | imagefield_326928.patch | 737 bytes | sirkitree |
Comments
Comment #1
sirkitree commentedI think the intended functionality was to return error messages. Correct?
If so, all that needs to be done is to set the $display param like so: theme('status_messages', 'error') on line 1161 of imagefield.module
I tried this out and it seems to work just fine, unless, of course, this was not your intended functionality.
http://img.skitch.com/20081027-gtn6pt45cb4cx47u3ddnksg2sj.png
Comment #2
drewish commentedlooks good. committed to DRUPAL-5--2.