sizeError shows on all errors
Closed this issue · 2 comments
andreaslarssen commented
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
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
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.