Upload submitError events not triggered for upload
Upload submitError events not triggered for upload
perrotin
Posts: 39Questions: 9Answers: 1
in Bug reports
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
This discussion has been closed.
Replies
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