When uploading a file, if the network connection is lost, the upload fails but file.error is only set to true and therefore
outputs the word true.
Also data.context in fileuploadfail points to .template-upload, not .template-download so no error can be displayed manually.
When uploading a file, if the network connection is lost, the upload fails but file.error is only set to true and therefore
Also data.context in fileuploadfail points to .template-upload, not .template-download so no error can be displayed manually.