I am using Dojo 1.8. I have defined an Uploader that supports multiple attachments in Firefox, Chrome, and Safari, but when I submit the form in IE9, multiple POST requests are made instead of just one.
Below is a rough synopsis of my code. I load the Flash plugin so the Uploader will run in IE (the IFrame and HTML5 plugins do not work). Any reason as to why this behaves so much differently from the other browsers besides IE simply being itself?
define([
'dojox/form/Uploader',
'dojox/form/uploader/FileList',
'dojox/form/uploader/plugins/Flash'
], function(Uploader, FileList) {
...
this.u = new dojox.form.Uploader({
label: "Browse...",
multiple: true,
uploadOnSelect: false,
url: 'uploadServlet'
});
this.list = new FileList({
uploader: u
});
...
this.u.startup();
this.list.startup();
});