diff options
author | asaadmahmoodspin <asaad@battlehouse.com> | 2015-08-13 20:31:19 +0500 |
---|---|---|
committer | asaadmahmoodspin <asaad@battlehouse.com> | 2015-08-13 20:31:19 +0500 |
commit | 1a6d67b0cd82058cbf3a9d76c576958875833db7 (patch) | |
tree | 6905182695f62581523bb35764661b5bf007b28b /web/react/components/create_comment.jsx | |
parent | 6d9e715e265a3265841bc351e6b22a4503c20c92 (diff) | |
parent | 14c121dc0cccdd36f97b0b13cde6dd3a5802bb9e (diff) | |
download | chat-1a6d67b0cd82058cbf3a9d76c576958875833db7.tar.gz chat-1a6d67b0cd82058cbf3a9d76c576958875833db7.tar.bz2 chat-1a6d67b0cd82058cbf3a9d76c576958875833db7.zip |
Merge pull request #5 from rgarmsen2295/mm-316
MM-316 Allows users to drag and drop files from their computer to the center pane or RHS to upload them
Diffstat (limited to 'web/react/components/create_comment.jsx')
-rw-r--r-- | web/react/components/create_comment.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx index 78e06c532..c954229ae 100644 --- a/web/react/components/create_comment.jsx +++ b/web/react/components/create_comment.jsx @@ -222,7 +222,9 @@ module.exports = React.createClass({ getFileCount={this.getFileCount} onUploadStart={this.handleUploadStart} onFileUpload={this.handleFileUploadComplete} - onUploadError={this.handleUploadError} /> + onUploadError={this.handleUploadError} + postType='comment' + channelId={this.props.channelId} /> </div> <MsgTyping channelId={this.props.channelId} parentId={this.props.rootId} /> <div className={postFooterClassName}> |