juanparati/MooUpload — Issue #16: events should limit user inputs
Author: silent2600
Created: 2011-11-14 07:58:23+00:00
State: open

hi,

I see there are some events:
onAddFiles: function(){},
onBeforeUpload: function(){},
onFileDelete: function(fileindex){},
onFileUpload: function(fileindex, response){},
onFileUploadError: function(fileindex, response){},
onFinishUpload: function(){},
onSelect: function(){},
onSelectError: function(error, filename, filesize){}

what I want is the events can control the js progress:
for example:
when user already added 5 files, onAddFiles() can prevent adding more files,
anyother way is user selected 10 files, onBeforeUpload() also can prevent uploading any file.

also the "accept" option seems not work in HTML5, only see some code on it for flash.

thanks!