PLT-3163Commenting in the RHS while in permalink view (#3272)

This commit is contained in:
enahum
2016-06-06 16:49:13 -03:00
committed by Joram Wilander
parent f864e9adf1
commit a3bdf448eb
2 changed files with 0 additions and 4 deletions

View File

@@ -5,7 +5,6 @@ import $ from 'jquery';
import ReactDOM from 'react-dom';
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
import Client from 'utils/web_client.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
import ChannelStore from 'stores/channel_store.jsx';
import UserStore from 'stores/user_store.jsx';
import PostDeletedModal from './post_deleted_modal.jsx';
@@ -151,8 +150,6 @@ class CreateComment extends React.Component {
Client.createPost(
post,
(data) => {
AsyncClient.getPosts(this.props.channelId);
const channel = ChannelStore.get(this.props.channelId);
const member = ChannelStore.getMember(this.props.channelId);
member.msg_count = channel.total_msg_count;

View File

@@ -67,7 +67,6 @@ class EditPostModal extends React.Component {
Client.updatePost(
updatedPost,
() => {
AsyncClient.getPosts(updatedPost.channel_id);
window.scrollTo(0, 0);
},
(err) => {