Upload submitError events not triggered for upload

Upload submitError events not triggered for upload

perrotinperrotin Posts: 39Questions: 9Answers: 1

HI

When using upload functionnalities, upload error does not trigger a submitError event in editor.

This could be easily fixed by adding
editor._event( ['submitError', [... ] );

on line 3869 and 3894

Generally speaking I thing events for upload are insuffisant, and I would enjoy to be able to have custom upload event, like uploadSuccess, uploadError ....
Actually the only event available is upload.editor and it's quite limitated ( params doesn't include xhr )

Thanks

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    Many thanks for pointing that out. 1.6 is going to add a uploadXhr event which is triggered after an upload, but there isn't one for errors yet. I'll add that.

    Allan

This discussion has been closed.