The extension field is too short: maxlength="64"
I think it should be longer, for example:
txt doc odt xls jpg gif tif pdf png ods rtf mp3 ogg wma zip rar
eats all the space.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 149789.patch | 272 bytes | owen barton |
| #6 | 149789.patch | 854 bytes | owen barton |
Comments
Comment #1
jjk005 commentedThe question becomes, is it safe to change that number in the form? Or is there something that would make such an edit problematic? I too need this field to be longer.
Comment #2
jpetso commentedI looked this up, and it goes this way:
Comment #3
jpetso commentedThe table is {node_field_instance}, and I decided that it's trivial enough to not having to ask dopry for this. Committed and FIXED. Rejoice.
Comment #4
jpetso commentedAnd when I say FIXED, I certainly want to set the status accordingly. Ungh.
Comment #5
(not verified) commentedComment #6
owen barton commentedIt looks like this regressed at some point - check around line 25 of:
http://drupalcode.org/viewvc/drupal/contributions/modules/filefield/file...
http://drupalcode.org/viewvc/drupal/contributions/modules/filefield/file...
Attached is a simple patch that fixes this.
Comment #7
owen barton commentedActually, that was the wrong fapi parameter - this one is correct...
Comment #8
quicksketchThanks, looks good to me.
Comment #9
quicksketchCommitted to CVS. It'll be in 3.6.
Comment #10
owen barton commentedThanks!