You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently not, I'm afraid. It would make sense to not fire the postUpload and postPersist event until the file is finished and uploaded though. Actually the best way imo would be to introduce one more event postUploadChunk which will be dispatched after a chunk has been uploaded. (Also because its pointless to fire the postPersist event if the uploaded file is a chunk. It won't use the Orphanage anyway.)
* Moved dispatching to the upload* functions
* Added a new Event which will be fired after a chunk has been uploaded
This is a huge BC-break. It has to be done to address #20 though.
Take a look at a408548. I've changed not only the way the events get dispatched but also introduced a new POST_CHUNK_UPLOAD event you can listen to. It will be fired as soon as a chunk gets uploaded. After the chunks are assembled, a standard POST_UPLOAD event is dispatched.
Be sure to update to tag v0.9.5. If you have any further question, don't hesitate to comment here. :)
Is there a way to tell in the event if it is fired for the reassembled file or for a chunk?
(using blueimp as frontend)
Thanks.
The text was updated successfully, but these errors were encountered: