Commit 14ad2ef4 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1664061: Out of sync upload pending/success messages"

parents fec870f2 6cc54964
...@@ -106,11 +106,8 @@ jQuery(document).ready(function() { ...@@ -106,11 +106,8 @@ jQuery(document).ready(function() {
j('#file_dropzone_container').removeClass('dragover'); j('#file_dropzone_container').removeClass('dragover');
}); });
myDropzone.on("selectedfiles", function(userfile) {
dropzone_uploadnumber = window[prefix].nextupload - current_drop_number;
});
myDropzone.on("addedfile", function(userfile) { myDropzone.on("addedfile", function(userfile) {
dropzone_uploadnumber = window[prefix].nextupload - current_drop_number;
current_drop_number ++; current_drop_number ++;
window[prefix].dragdrop = true; window[prefix].dragdrop = true;
window[prefix].upload_presubmit_dropzone(userfile); window[prefix].upload_presubmit_dropzone(userfile);
......
Supports Markdown
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