Just a simple change to alter the error message presented to the user. Watchdog is getting the correct message "file upload failed" but the user is presented with "image upload failed" even though the widget is set to file upload.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | filefield_330630.patch | 1.76 KB | drewish |
| #3 | filefield-330630-3.patch | 838 bytes | ultimateboy |
| #1 | filefield-1.patch | 740 bytes | ultimateboy |
| filefield-image-error-message.patch | 1.14 KB | ultimateboy |
Comments
Comment #1
ultimateboy commentedHelps if I patch the right thing...
Comment #2
drewish commentedneed to fix the watchdog message above it as well, it's got 'imagefield' in there too.
Comment #3
ultimateboy commentedHa.. dont know how I missed that.
Comment #4
drewish commentedactually looks like you rolled this against an old version of the module... the message has changed but the watchdog message still has imagefield...
Comment #5
dopry commentedcommitted to HEAD, tnx.