summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-12-03 08:25:01 -0500
committerChristopher Speller <crspeller@gmail.com>2015-12-03 08:25:01 -0500
commit78cb2094dad12dfe8037054cbf04f0fdfc95a6e9 (patch)
treeb88bbe9ee5960f7ada9f71471b06d8dda092692c /web
parente92695c4a4a027e428ad32b69583bee25a3ba24a (diff)
parenta25614f259c6bcb8be1e3edec77ad97b2d138ddd (diff)
downloadchat-78cb2094dad12dfe8037054cbf04f0fdfc95a6e9.tar.gz
chat-78cb2094dad12dfe8037054cbf04f0fdfc95a6e9.tar.bz2
chat-78cb2094dad12dfe8037054cbf04f0fdfc95a6e9.zip
Merge pull request #1585 from mattermost/PLT-1301
PLT-1301 Fixing RHS disappearing bug
Diffstat (limited to 'web')
-rw-r--r--web/react/components/create_comment.jsx1
-rw-r--r--web/react/components/rhs_thread.jsx1
2 files changed, 0 insertions, 2 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx
index 5c480eb2a..fac40e895 100644
--- a/web/react/components/create_comment.jsx
+++ b/web/react/components/create_comment.jsx
@@ -34,7 +34,6 @@ export default class CreateComment extends React.Component {
this.handleUploadError = this.handleUploadError.bind(this);
this.handleTextDrop = this.handleTextDrop.bind(this);
this.removePreview = this.removePreview.bind(this);
- this.handleSubmit = this.handleSubmit.bind(this);
this.getFileCount = this.getFileCount.bind(this);
this.handleResize = this.handleResize.bind(this);
this.onPreferenceChange = this.onPreferenceChange.bind(this);
diff --git a/web/react/components/rhs_thread.jsx b/web/react/components/rhs_thread.jsx
index 61f138539..d111094e7 100644
--- a/web/react/components/rhs_thread.jsx
+++ b/web/react/components/rhs_thread.jsx
@@ -101,7 +101,6 @@ export default class RhsThread extends React.Component {
}
if (currentPosts.posts[currentPosts.order[0]].channel_id === currentSelected.posts[currentSelected.order[0]].channel_id) {
- currentSelected.posts = {};
for (var postId in currentPosts.posts) {
if (currentPosts.posts.hasOwnProperty(postId)) {
currentSelected.posts[postId] = currentPosts.posts[postId];