From 70634ecdf2f17af95639ea99152138bf1b901ba4 Mon Sep 17 00:00:00 2001
From: nickago <ngonella@calpoly.edu>
Date: Tue, 25 Aug 2015 13:26:36 -0700
Subject: Added clearing of search bar on close of comment section of RHS

---
 web/react/components/post_right.jsx | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'web/react/components/post_right.jsx')

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
@@ -25,6 +25,13 @@ RhsHeaderPost = React.createClass({
             results: null
         });
 
+        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
-- 
cgit v1.2.3-1-g7c22

