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 override "Dropzone.confirm" #507

Open
GTCrais opened this issue Nov 12, 2019 · 2 comments
Open

Unable to override "Dropzone.confirm" #507

GTCrais opened this issue Nov 12, 2019 · 2 comments

Comments

@GTCrais
Copy link

GTCrais commented Nov 12, 2019

Is there a way to do this?

From the Dropzone docs:

If you don’t like the default browser modals for confirm calls, you can handle them yourself by overwriting Dropzone.confirm.

Dropzone.confirm = function(question, accepted, rejected) {
// Ask the question, and call accepted() or rejected() accordingly.
// CAREFUL: rejected might not be defined. Do nothing in that case.
};

@rowanwins
Copy link
Owner

At the moment no but this is resolved in #549

@rowanwins rowanwins added this to the v3.7 milestone May 9, 2020
@GTCrais
Copy link
Author

GTCrais commented May 9, 2020

Awesome, thanks!

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

No branches or pull requests

2 participants