From b05c317c656b74d773f3977aaf0e2e8e83b1380b Mon Sep 17 00:00:00 2001 From: hmhealey Date: Tue, 9 Feb 2016 15:22:24 -0500 Subject: Replaced Permalink popover with a Permalink modal --- web/react/dispatcher/event_helpers.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/react/dispatcher') 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, -- cgit v1.2.3-1-g7c22