Needs work
Project:
FileField Sources
Version:
7.x-1.7
Component:
General
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
24 Jan 2013 at 15:13 UTC
Updated:
2 Jul 2018 at 08:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedSo, well I created a little patch based on the latest dev (*cough cough* my first patch EVER *taking out the champagne*) which wraps the input elements of the default upload element into a container for each filefield_sources widget on a form.
Applying uniform.js to an
<input type="file" />and things like http://drupal.org/project/autoupload now work with filefield_sources. Yay! :-)Let me know what you think..
Comment #2
Anonymous (not verified) commentedI stand corrected: AutoUpload doesn't work because it chokes on the wrapper div.
Comment #3
quicksketchHi @genox. I'm not sure about this patch. FIleField Sources tries to not interfere with the existing markup of the FileFIeld (other than adding the parts it needs). It doesn't add any wrappers to anything, for fear that it would break specific selectors used by other modules (perhaps like the autoupload.module you mentioned). Overall this seems like a bigger risk than reward, so I'd prefer to "won't fix" this issue.
I'm saddened that your first ever patch is met with such scrutiny. I really appreciate new contributors. :)