blueimp/jQuery-File-Upload — Issue #1082: Plugin Not Submitting
Author: vidya-code
Created: 2012-03-07 06:28:43+00:00
State: open

I have a form like this:

Drop files for Bob Jones here

...

and the following JavaScript:

$("#fileupload").fileupload({
dropZone: $("#dropZone"),
acceptFileTypes: /(\.|\/)(gif|jpe?g|png|mov|wav|mp4)$/i,
add: function(e, data) {
data.submit();
...
}

When I add a file, I find the add callback fires and that the data.submit() method actually executes. However, nothing gets submitted. If I add a statement like data.url="/files/upload" in the add method, there is no change; nothing is submitted.

Does anyone have an idea why this would be? Also, let me know if I need to provide further information.

Thanks.