You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: