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

Is there a way to set the url dynamically? #94

Closed
mnoble01 opened this issue Apr 5, 2013 · 4 comments
Closed

Is there a way to set the url dynamically? #94

mnoble01 opened this issue Apr 5, 2013 · 4 comments

Comments

@mnoble01
Copy link

mnoble01 commented Apr 5, 2013

Hi there,

I need to set the upload url dynamically and there doesn't currently seem to be a way to do that.

Some ideas:

  1. If there were a way to reset or remove the Dropzone (Reset dropzone to Pristine state #44), this could address my use case.
  2. Or there could be a way to alter the url in the sending event callback.

So, is there any possible way at the moment to set the url dynamically, or am I missing something?

Thanks, and great work!

@enyo
Copy link
Collaborator

enyo commented Apr 5, 2013

Hi, I created a wiki entry for it: https://github.com/enyo/dropzone/wiki/Set-URL-dynamically

@enyo enyo closed this as completed Apr 5, 2013
@FrankFang
Copy link

processingfile was renamed to processing !
Take care.

@mauleshmevada
Copy link

Great its useful Thanks

@murilolobato
Copy link

This method doesn't work, when you need to make a ajax request inside of it. If the request take a little longer to resolve, the file is uploaded to the url configured in dropzone. How can we solve this?

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

5 participants