blueimp/jQuery-File-Upload — Issue #782: acceptFileTypes error
Author: srchulo
Created: 2011-11-12 09:56:10+00:00
State: open

So I am using the acceptFileTypes option and my setup looks like this:

$('#fileupload').fileupload({
autoUpload: true,
maxNumberOfFiles: 3,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i
});

It works fine and only allows the user to upload those types, but if the user uploads an invalid type, it displays an error message that does not go away. Additionally, it counts this error message as a file upload. So even though I have 3 files as my max, really it is only two if a user tries and gets the error. Is there a way to fix/get around this?

Thanks!
srchulo