summaryrefslogtreecommitdiffstats
path: root/web/react/dispatcher/event_helpers.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-09 15:36:56 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-09 15:36:56 -0500
commite343e36c7096cf62d6d6a655ceb18187f68d1aed (patch)
tree82cdac4412cbc0af517db4364326365a11affd47 /web/react/dispatcher/event_helpers.jsx
parent62481983fe2dc8d0a23701de274d76eb861c7304 (diff)
parentb05c317c656b74d773f3977aaf0e2e8e83b1380b (diff)
downloadchat-e343e36c7096cf62d6d6a655ceb18187f68d1aed.tar.gz
chat-e343e36c7096cf62d6d6a655ceb18187f68d1aed.tar.bz2
chat-e343e36c7096cf62d6d6a655ceb18187f68d1aed.zip
Merge pull request #2122 from hmhealey/plt1544
PLT-1544 Replaced Permalink popover with a Permalink modal
Diffstat (limited to 'web/react/dispatcher/event_helpers.jsx')
-rw-r--r--web/react/dispatcher/event_helpers.jsx8
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,