pekebyte / pekeUpload

jQuery html5 file uploader plugin
http://pekebyte.github.io/pekeUpload
Other
82 stars 73 forks source link

sizeError shows on all errors #3

Closed andreaslarssen closed 11 years ago

andreaslarssen commented 11 years ago

Hi.

I'm trying out your script, and it works great, except when I return a (error) string from the server to signal that somthings wrong with the upload. When I do that, it shows the sizeError message by default. Which can be a bit confusing for the user.

pekebyte commented 11 years ago

Hello,

Thanks for using my plugin and telling me about this issue.

I've just fixed the plugin, please pull the latest commit and try again.

Take in mind that you need to print on your .php file the error in order to show the error on the uploader.

andreaslarssen commented 11 years ago

Hi. Yes, I'm currently returning error strings from the server, but it still shows the sizeError string on every occation. I'll try the new version and get back to you. Thanks.