diff options
author | David Lu <david.lu@hotmail.com> | 2016-06-02 15:43:00 -0700 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-06-02 19:43:00 -0300 |
commit | 2f7540e174dce808dc642c42d85151238c352e5d (patch) | |
tree | b409af63de15d0f565747dfcd75c58b76d0dff96 /webapp/actions | |
parent | 8165f5d91fab1730fcef4832e4bfbe0323d911e0 (diff) | |
download | chat-2f7540e174dce808dc642c42d85151238c352e5d.tar.gz chat-2f7540e174dce808dc642c42d85151238c352e5d.tar.bz2 chat-2f7540e174dce808dc642c42d85151238c352e5d.zip |
PLT-3028 Added CTRL+/ to show shortcuts (#3181)
* Added CTRL / to show shortcuts
* Simplified code
Diffstat (limited to 'webapp/actions')
-rw-r--r-- | webapp/actions/channel_actions.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
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); +} |