Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Multiple batches of files causes duplicate form submissions #104
On the "done" event in s3_direct_upload.js.coffeescript, I imagine the following line should be added (I added it after current_files.splice - line 85 - in my fork). Without this (current behavior) I'm seeing forms being resubmitted multiple times when you use your own submit button (click_submit_target = true).
forms_for_submit.splice($.inArray(data, forms_for_submit), 1) # remove that element from the array