diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-02-08 12:56:36 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-02-08 12:56:36 -0500 |
commit | 0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8 (patch) | |
tree | e2506f66379ba6b3bd93b3753c2064332eb3fd55 /web/react/dispatcher/event_helpers.jsx | |
parent | b6300b1656506b3ce264c8844dd11865ca61d391 (diff) | |
parent | 2af861423619271651e01f1bb879c6e5f189f241 (diff) | |
download | chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.gz chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.bz2 chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.zip |
Merge pull request #2101 from hmhealey/plt1415
PLT-1415 Renamed RECIEVED_* to RECEIVED_*
Diffstat (limited to 'web/react/dispatcher/event_helpers.jsx')
-rw-r--r-- | web/react/dispatcher/event_helpers.jsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx index c1041e438..5476d707f 100644 --- a/web/react/dispatcher/event_helpers.jsx +++ b/web/react/dispatcher/event_helpers.jsx @@ -30,7 +30,7 @@ export function emitPostFocusEvent(postId) { postId, (data) => { AppDispatcher.handleServerAction({ - type: ActionTypes.RECIEVED_FOCUSED_POST, + type: ActionTypes.RECEIVED_FOCUSED_POST, postId, post_list: data }); @@ -47,13 +47,13 @@ export function emitPostFocusRightHandSideFromSearch(post, isMentionSearch) { post.id, (data) => { AppDispatcher.handleServerAction({ - type: ActionTypes.RECIEVED_POST_SELECTED, + type: ActionTypes.RECEIVED_POST_SELECTED, post_list: data, from_search: SearchStore.getSearchTerm() }); AppDispatcher.handleServerAction({ - type: ActionTypes.RECIEVED_SEARCH, + type: ActionTypes.RECEIVED_SEARCH, results: null, is_mention_search: isMentionSearch }); @@ -89,7 +89,7 @@ export function emitLoadMorePostsFocusedBottomEvent() { export function emitPostRecievedEvent(post) { AppDispatcher.handleServerAction({ - type: ActionTypes.RECIEVED_POST, + type: ActionTypes.RECEIVED_POST, post }); } @@ -177,7 +177,7 @@ export function emitClearSuggestions(suggestionId) { export function emitPreferenceChangedEvent(preference) { AppDispatcher.handleServerAction({ - type: Constants.ActionTypes.RECIEVED_PREFERENCE, + type: Constants.ActionTypes.RECEIVED_PREFERENCE, preference }); } |