is it possible to cancel AjaxUpload during OnSubmit, for example:
var file_uploader = new window.AjaxUpload(
'wall-file-upload',
{ action: 'attach_something',
name: 'userfile',
onSubmit: function(file,ext) { if(something){cancel_upload();} },
}
);
So cancel upload is executed at onSubmit. Is this possible?