Assign priority levels to files in the upload queue. Higher priority files are uploaded
first regardless of when they were added.
What you should see: files upload in the priority order you assign rather than selection order - with concurrency 1 the order is strict and visible.
var uploader = AjaxUploader.create('#uploader', {
uploadUrl: '/ajaxupload.axd/upload',
multiple: true,
autoUpload: false,
concurrency: 1,
onSelect: function(files) {
files.forEach(function(f) {
// Default priority: normal
// Change with uploader.setTaskPriority(taskId, 'high');
});
}
});
// Priorities: 'high', 'normal', 'low'