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.
Этот коммит содержится в:
Yi EungJun
2016-09-20 06:41:19 +09:00
коммит произвёл Harrison Healey
родитель 80b2ce9c3f
Коммит bb69e98631
3 изменённых файлов: 32 добавлений и 9 удалений

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

@@ -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
};
};