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.
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 onereader.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.