Upload submitError events not triggered for upload

Upload submitError events not triggered for upload

perrotinperrotin Posts: 36Questions: 8Answers: 1


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 )



  • allanallan Posts: 54,700Questions: 1Answers: 8,556 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.


This discussion has been closed.