diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-25 13:26:36 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-25 13:26:36 -0700 |
commit | 70634ecdf2f17af95639ea99152138bf1b901ba4 (patch) | |
tree | 06e3bc6ba151fbeb770eab817f35c3958724fc09 /web/react/components/post_right.jsx | |
parent | 70da0dbec6ed35cfc3196d50db4209378549fd92 (diff) | |
download | chat-70634ecdf2f17af95639ea99152138bf1b901ba4.tar.gz chat-70634ecdf2f17af95639ea99152138bf1b901ba4.tar.bz2 chat-70634ecdf2f17af95639ea99152138bf1b901ba4.zip |
Added clearing of search bar on close of comment section of RHS
Diffstat (limited to 'web/react/components/post_right.jsx')
-rw-r--r-- | web/react/components/post_right.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx index ac4c8a6d7..fb45ad28e 100644 --- a/web/react/components/post_right.jsx +++ b/web/react/components/post_right.jsx @@ -26,6 +26,13 @@ RhsHeaderPost = 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 }); |