diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-02-09 15:22:24 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-02-09 15:22:24 -0500 |
commit | b05c317c656b74d773f3977aaf0e2e8e83b1380b (patch) | |
tree | ac866abbef6be9e0bae8dd74188fc8b24f2b04df /web/react/dispatcher | |
parent | 137920b479b9cb6688a4ad683c67280549680c70 (diff) | |
download | chat-b05c317c656b74d773f3977aaf0e2e8e83b1380b.tar.gz chat-b05c317c656b74d773f3977aaf0e2e8e83b1380b.tar.bz2 chat-b05c317c656b74d773f3977aaf0e2e8e83b1380b.zip |
Replaced Permalink popover with a Permalink modal
Diffstat (limited to 'web/react/dispatcher')
-rw-r--r-- | web/react/dispatcher/event_helpers.jsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx index 5476d707f..47a16950e 100644 --- a/web/react/dispatcher/event_helpers.jsx +++ b/web/react/dispatcher/event_helpers.jsx @@ -117,6 +117,14 @@ export function showDeletePostModal(post, commentCount = 0) { }); } +export function showGetPostLinkModal(post) { + AppDispatcher.handleViewAction({ + type: ActionTypes.TOGGLE_GET_POST_LINK_MODAL, + value: true, + post + }); +} + export function showGetTeamInviteLinkModal() { AppDispatcher.handleViewAction({ type: Constants.ActionTypes.TOGGLE_GET_TEAM_INVITE_LINK_MODAL, |