diff options
author | Corey Hulen <corey@hulen.com> | 2016-01-22 08:14:06 -0600 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-01-22 08:14:06 -0600 |
commit | 5d14ab71745f85f3aa039df5b84c9f0b63846a2b (patch) | |
tree | caaeda69687ea5e2156a1a0b5fa4314bb1a49724 /web/react/components/create_comment.jsx | |
parent | dd52e3f729a63e4c1001bebbad236258ef880de4 (diff) | |
parent | 518efd7d2e971572c104dde09f90ef9f7619dd08 (diff) | |
download | chat-5d14ab71745f85f3aa039df5b84c9f0b63846a2b.tar.gz chat-5d14ab71745f85f3aa039df5b84c9f0b63846a2b.tar.bz2 chat-5d14ab71745f85f3aa039df5b84c9f0b63846a2b.zip |
Merge pull request #1954 from mattermost/PLT-7-c2-fix
PLT-7 fixing unit test for chunk 2 server
Diffstat (limited to 'web/react/components/create_comment.jsx')
-rw-r--r-- | web/react/components/create_comment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx index cae94429c..aa7ab6a7b 100644 --- a/web/react/components/create_comment.jsx +++ b/web/react/components/create_comment.jsx @@ -129,7 +129,7 @@ export default class CreateComment extends React.Component { function handlePostError(err) { let state = {}; - if (err.message === 'Invalid RootId parameter') { + if (err.id === 'api.post.create_post.root_id.app_error') { PostStore.removePendingPost(post.channel_id, post.pending_post_id); if ($('#post_deleted').length > 0) { |