summaryrefslogtreecommitdiffstats
path: root/web/react/components/textbox.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-28 18:04:27 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-28 18:04:27 +0500
commite104829dcd7ae8ea0d6ab87f341cf5c5f1b30a41 (patch)
tree769e7de1f1c12cc4d58d934709032bc1bcbdedc9 /web/react/components/textbox.jsx
parent179c4ea684af8d2a021cc6f0042bc4408f39b0bb (diff)
parentc6f3361d3caf671ca64b798d5ac9eca97c387f9e (diff)
downloadchat-e104829dcd7ae8ea0d6ab87f341cf5c5f1b30a41.tar.gz
chat-e104829dcd7ae8ea0d6ab87f341cf5c5f1b30a41.tar.bz2
chat-e104829dcd7ae8ea0d6ab87f341cf5c5f1b30a41.zip
Merge branch 'master' of https://github.com/mattermost/platform into ui-improvements
Diffstat (limited to 'web/react/components/textbox.jsx')
-rw-r--r--web/react/components/textbox.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index 86bb42f62..707033d8f 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -2,7 +2,7 @@
// See License.txt for license information.
const AppDispatcher = require('../dispatcher/app_dispatcher.jsx');
-const PostStore = require('../stores/post_store.jsx');
+const SearchStore = require('../stores/search_store.jsx');
const CommandList = require('./command_list.jsx');
const ErrorStore = require('../stores/error_store.jsx');
@@ -54,7 +54,7 @@ export default class Textbox extends React.Component {
}
componentDidMount() {
- PostStore.addAddMentionListener(this.onListenerChange);
+ SearchStore.addAddMentionListener(this.onListenerChange);
ErrorStore.addChangeListener(this.onRecievedError);
this.resize();
@@ -62,7 +62,7 @@ export default class Textbox extends React.Component {
}
componentWillUnmount() {
- PostStore.removeAddMentionListener(this.onListenerChange);
+ SearchStore.removeAddMentionListener(this.onListenerChange);
ErrorStore.removeChangeListener(this.onRecievedError);
}