diff options
author | Corey Hulen <corey@hulen.com> | 2015-11-23 10:22:55 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-11-23 10:22:55 -0800 |
commit | d42a567bab3cd306caf0a42bed804c26222a46da (patch) | |
tree | 3099b4d08323315985c547367349fc337971cbbe /web/react/components/rhs_root_post.jsx | |
parent | c03a9859838e3492b50e71383587b98231408b7b (diff) | |
parent | 388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d (diff) | |
download | chat-d42a567bab3cd306caf0a42bed804c26222a46da.tar.gz chat-d42a567bab3cd306caf0a42bed804c26222a46da.tar.bz2 chat-d42a567bab3cd306caf0a42bed804c26222a46da.zip |
Merge pull request #1485 from hmhealey/plt1151
PLT-1151 Refactor more modals to React-Bootstrap
Diffstat (limited to 'web/react/components/rhs_root_post.jsx')
-rw-r--r-- | web/react/components/rhs_root_post.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/rhs_root_post.jsx b/web/react/components/rhs_root_post.jsx index 96f43bdb5..8142888ba 100644 --- a/web/react/components/rhs_root_post.jsx +++ b/web/react/components/rhs_root_post.jsx @@ -6,11 +6,11 @@ import UserProfile from './user_profile.jsx'; import UserStore from '../stores/user_store.jsx'; import * as TextFormatting from '../utils/text_formatting.jsx'; import * as utils from '../utils/utils.jsx'; -import DeletePostModal from './delete_post_modal.jsx'; import FileAttachmentList from './file_attachment_list.jsx'; import twemoji from 'twemoji'; import Constants from '../utils/constants.jsx'; import PostBodyAdditionalContent from './post_body_additional_content.jsx'; +import * as EventHelpers from '../dispatcher/event_helpers.jsx'; export default class RhsRootPost extends React.Component { constructor(props) { @@ -94,7 +94,7 @@ export default class RhsRootPost extends React.Component { <a href='#' role='menuitem' - onClick={() => DeletePostModal.show(post, this.props.commentCount)} + onClick={() => EventHelpers.showDeletePostModal(post, this.props.commentCount)} > {'Delete'} </a> |