s3_direct_upload
s3_direct_upload copied to clipboard
Unable to set options on fileupload plugin directly
trafficstars
I need to set the sequentialUploads option to true on the fileupload plugin. Is there a way to pass though options from S3Uploader to the underlying fileupload?
Right now it looks as if I need to hack the gem to accomplish this:
setUploadForm = ->
$uploadForm.fileupload
sequentialUploads: true
add: (e, data) ->
file = data.files[0]
file.unique_id = Math.random().toString(36).substr(2,16)
It looks like #28 was fairly promising to have a consistent API that would allow this but it seems to have died a slow dead.
Thoughts?
Wow this is pretty old. I'm looking to customize dropZone in fileupload as I have multiple forms on one page, and dropping triggers all of them.