What steps will reproduce the problem?
1. Activate autostart
2. Activate use of standard upload instead of swfupload
3. Try to upload a file
What is the expected output? What do you see instead?
The javascript error "fileInfo is undefined" can be shown in firebug.
What version of the product are you using? On what operating system?
Awesome Uploader 2.0 beta 3 version
Please provide any additional information below.
When using awesome upload with autostart and standard upload options activated,
an javascript error can be shown in firebug. The problem is that in function
standardUploadFileSelected, in line 531 there is an invocation to function
standardUploadStart without the fileinfo parameter.
Original code:
if(false !== this.fireEvent('fileselected', this, Ext.apply({},fileInfo) ) ){
if(this.autoStartUpload){
this.standardUploadStart();
}
this.fileQueue[fileInfo.id] = fileInfo;
}
The code should be:
if(false !== this.fireEvent('fileselected', this, Ext.apply({},fileInfo) ) ){
if(this.autoStartUpload){
this.standardUploadStart(fileInfo);
}
this.fileQueue[fileInfo.id] = fileInfo;
}
Thanks for that fantastic job.
Original issue reported on code.google.com by fcol...@gmail.com on 17 Feb 2011 at 9:56
Original issue reported on code.google.com by
fcol...@gmail.com
on 17 Feb 2011 at 9:56