-
Notifications
You must be signed in to change notification settings - Fork 286
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
Upload event doesn't work #165
Comments
You must call done(); in your custom beforeSend hook. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upload must start after drop event, but it doesn't.
I changed the code
reader.onloadend = !opts.beforeSend ? send : function (e) {
opts.beforeSend(files[fileIndex], fileIndex, function () { send(e); });
};
to this one
reader.onloadend = !opts.beforeSend ? send : function (e) {
opts.beforeSend(files[fileIndex], fileIndex, function () { send(e); });
send(e);
};
and it works for me.
Please check this moment, and if there is more efficient solution, do and commit it please. Thank you.
The text was updated successfully, but these errors were encountered: