diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-08-27 08:19:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-08-27 08:19:40 -0400 |
commit | 8356e25f80bbba3040ceeda5732b8843b8e493c1 (patch) | |
tree | 817b067226b506a5ea3cba10394e95ff93d00a29 /web | |
parent | 232fd59ef424017ae2c881d03a68707421eb74e5 (diff) | |
parent | 70634ecdf2f17af95639ea99152138bf1b901ba4 (diff) | |
download | chat-8356e25f80bbba3040ceeda5732b8843b8e493c1.tar.gz chat-8356e25f80bbba3040ceeda5732b8843b8e493c1.tar.bz2 chat-8356e25f80bbba3040ceeda5732b8843b8e493c1.zip |
Merge pull request #471 from nickago/MM-1803
MM-1803 Added clearing of search bar on close of comment section of RHS
Diffstat (limited to 'web')
-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 }); |