danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 384 forks source link

onNewFile called on UploadError #39

Closed ajkreitman closed 8 years ago

ajkreitman commented 8 years ago

Great tool Daniel. Thank you for this. I'm having a problem; for some reason, the onNewFile is called even when there is an upload error returned from the XHR call. I've implemented the image preview - and it's showing the preview for images my server-side script is rejecting.

Any ideas?