Commit 6cc54964 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1664061: Out of sync upload pending/success messages



behatnotneeded

Change-Id: Iaff54cc62e95efdf0a6bcd6365f9772ca74d0697
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent fbde1978
......@@ -106,11 +106,8 @@ jQuery(document).ready(function() {
j('#file_dropzone_container').removeClass('dragover');
});
myDropzone.on("selectedfiles", function(userfile) {
dropzone_uploadnumber = window[prefix].nextupload - current_drop_number;
});
myDropzone.on("addedfile", function(userfile) {
dropzone_uploadnumber = window[prefix].nextupload - current_drop_number;
current_drop_number ++;
window[prefix].dragdrop = true;
window[prefix].upload_presubmit_dropzone(userfile);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment