blueimp/jQuery-File-Upload — Issue #946: Upload starts automatically no even though autoUpload is set to false
Author: Codemonkey1991
Created: 2012-01-16 13:17:47+00:00
State: open

The second I select a file, the uploader just goes ahead and uploads it, no questions asked. Shouldn't only the `fileuploadadd` event go off, and the rest wait for me to submit the file upload? This is the code

```
this.$file_input.fileupload({
url: config.clean_addresses_upload_script,
autoUpload: false,
acceptFileTypes: /(\.|\/)(xlsx)$/i
}).bind('fileuploadadd', function(e, data) {
return _this.fileSelected(e, data);
}).bind('fileuploadprogress', function(e, data) {
var total, uploaded;
uploaded = formatBytes(data.loaded);
total = formatBytes(data.total);
return console.log("Progress " + uploaded + " / " + total);
}).bind('fileuploaddone', function(e, data) {
return console.log('Upload complete');
});
```

(This is output from coffee-script)