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/post_info.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/post_info.jsx')
-rw-r--r-- | web/react/components/post_info.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx index bc6e8470d..cedb2b59b 100644 --- a/web/react/components/post_info.jsx +++ b/web/react/components/post_info.jsx @@ -1,11 +1,11 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import DeletePostModal from './delete_post_modal.jsx'; import UserStore from '../stores/user_store.jsx'; import TeamStore from '../stores/team_store.jsx'; import * as Utils from '../utils/utils.jsx'; import TimeSince from './time_since.jsx'; +import * as EventHelpers from '../dispatcher/event_helpers.jsx'; import Constants from '../utils/constants.jsx'; @@ -74,7 +74,7 @@ export default class PostInfo extends React.Component { <a href='#' role='menuitem' - onClick={() => DeletePostModal.show(post, dataComments)} + onClick={() => EventHelpers.showDeletePostModal(post, dataComments)} > {'Delete'} </a> |