diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-06-28 15:42:54 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-06-28 15:42:54 -0400 |
commit | c6602ae2b81dcddc43e7b7cc359ea8335953b9d0 (patch) | |
tree | d717cf2b8cf82921bf1e0be40c5c37a1db8c03de /webapp/components | |
parent | 7bde11d21b8d7f0bdd35a179223d0024484f83e7 (diff) | |
download | chat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.tar.gz chat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.tar.bz2 chat-c6602ae2b81dcddc43e7b7cc359ea8335953b9d0.zip |
PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent
* Fixed handling of upload errors
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/file_upload.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/file_upload.jsx b/webapp/components/file_upload.jsx index 6b36e83fb..17bb50a2b 100644 --- a/webapp/components/file_upload.jsx +++ b/webapp/components/file_upload.jsx @@ -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; |