PLT-6844 Change file uploading to use superagent (#6785)

* PLT-6844 Change file uploading to use superagent

* Fixed handling of upload errors
Этот коммит содержится в:
Harrison Healey
2017-06-28 15:42:54 -04:00
коммит произвёл Joram Wilander
родитель 7bde11d21b
Коммит c6602ae2b8
2 изменённых файлов: 70 добавлений и 17 удалений

Просмотреть файл

@@ -99,7 +99,7 @@ class FileUpload extends React.Component {
channelId,
clientId,
this.fileUploadSuccess.bind(this, channelId),
this.fileUploadFail.bind(this, clientId)
this.fileUploadFail.bind(this, clientId, channelId)
);
const requests = this.state.requests;