From 2f7540e174dce808dc642c42d85151238c352e5d Mon Sep 17 00:00:00 2001
From: David Lu <david.lu@hotmail.com>
Date: Thu, 2 Jun 2016 15:43:00 -0700
Subject: PLT-3028 Added CTRL+/ to show shortcuts (#3181)

* Added CTRL / to show shortcuts

* Simplified code
---
 webapp/actions/channel_actions.jsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'webapp/actions/channel_actions.jsx')

diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx
index 7987bf87c..5dc83379e 100644
--- a/webapp/actions/channel_actions.jsx
+++ b/webapp/actions/channel_actions.jsx
@@ -4,7 +4,12 @@
 import {browserHistory} from 'react-router';
 
 import TeamStore from 'stores/team_store.jsx';
+import Client from 'utils/web_client.jsx';
 
 export function goToChannel(channel) {
     browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/channels/' + channel.name);
-}
\ No newline at end of file
+}
+
+export function executeCommand(channelId, message, suggest, success, error) {
+    Client.executeCommand(channelId, message, suggest, success, error);
+}
-- 
cgit v1.2.3-1-g7c22

