diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-21 08:41:36 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-21 08:44:44 -0700 |
commit | 8230b49014481154af1c6c9c41944010f0fbec50 (patch) | |
tree | 29bbac2704d62859118f32ac8c865744d62fbf7d /web/react/components/search_results.jsx | |
parent | ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (diff) | |
download | chat-8230b49014481154af1c6c9c41944010f0fbec50.tar.gz chat-8230b49014481154af1c6c9c41944010f0fbec50.tar.bz2 chat-8230b49014481154af1c6c9c41944010f0fbec50.zip |
remove search term after the RHS is closed
Diffstat (limited to 'web/react/components/search_results.jsx')
-rw-r--r-- | web/react/components/search_results.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/react/components/search_results.jsx b/web/react/components/search_results.jsx index 643ad112b..b1efd7685 100644 --- a/web/react/components/search_results.jsx +++ b/web/react/components/search_results.jsx @@ -24,6 +24,13 @@ var RhsHeaderSearch = React.createClass({ }); AppDispatcher.handleServerAction({ + type: ActionTypes.RECIEVED_SEARCH_TERM, + term: null, + do_search: false, + is_mention_search: false + }); + + AppDispatcher.handleServerAction({ type: ActionTypes.RECIEVED_POST_SELECTED, results: null }); |