Replies: 1 comment
+ e.preventDefault();
+ e.stopPropagation();
if (dz.getAcceptedFiles().length > 0) {
e.currentTarget.removeEventListener(e.type, handler);
- e.preventDefault();
- e.stopPropagation(); |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I need to be able to submit the dropzone form with no files added. For some reason when the form is submitted without a file, dropzone does not handle the submit action and the http handler (ashx) treats the request like a full page submission. Am I missing a configuration option to handle this case?
All reactions