Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set options on fileupload plugin directly #125

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

Unable to set options on fileupload plugin directly #125

ryanwood opened this issue Sep 2, 2013 · 1 comment

Comments

@ryanwood
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants