Unable to set options on fileupload plugin directly #125

Open
ryanwood opened this Issue Sep 2, 2013 · 1 comment

Comments

Projects
None yet
2 participants

ryanwood commented Sep 2, 2013

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?

nym commented Feb 3, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment