summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_comment.jsx
diff options
context:
space:
mode:
authorYi EungJun <semtlenori@gmail.com>2016-09-20 06:41:19 +0900
committerHarrison Healey <harrisonmhealey@gmail.com>2016-09-19 17:41:19 -0400
commitbb69e98631b2541954b6ae465b8ba5f788b9dc49 (patch)
tree125fac51e896af3b254825a029653d86395f9d2b /webapp/components/create_comment.jsx
parent80b2ce9c3f88f96a1972232607544d347f54fff7 (diff)
downloadchat-bb69e98631b2541954b6ae465b8ba5f788b9dc49.tar.gz
chat-bb69e98631b2541954b6ae465b8ba5f788b9dc49.tar.bz2
chat-bb69e98631b2541954b6ae465b8ba5f788b9dc49.zip
PLT-4182 Fix incorrect listing for at-mention in comment (#4031)
* Add missing eol * PLT-4182 Fix incorrect listing for at-mention in comment Suggestion box for at-mention listed users for the center channel even if the current textbox is for reply for a post which belongs to a different channel.
Diffstat (limited to 'webapp/components/create_comment.jsx')
-rw-r--r--webapp/components/create_comment.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx
index 0e4a7d7e6..2f0698510 100644
--- a/webapp/components/create_comment.jsx
+++ b/webapp/components/create_comment.jsx
@@ -400,6 +400,7 @@ export default class CreateComment extends React.Component {
createMessage={Utils.localizeMessage('create_comment.addComment', 'Add a comment...')}
initialText=''
supportsCommands={false}
+ channelId={this.props.channelId}
id='reply_textbox'
ref='textbox'
/>
@@ -444,4 +445,4 @@ export default class CreateComment extends React.Component {
CreateComment.propTypes = {
channelId: React.PropTypes.string.isRequired,
rootId: React.PropTypes.string.isRequired
-}; \ No newline at end of file
+};