summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_loader.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-09 21:00:29 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-09 21:00:29 +0500
commitb61f653626df4183ddf2f3d26a4dd955436f15de (patch)
tree2c274b5f5c112f49ca175fe053a2743bbb75218f /web/react/components/channel_loader.jsx
parenta533ff4d71cd6416d959ae970cded679242ba3e8 (diff)
parentb6fb6ea3be059d3c54027267760ccca0f95535ee (diff)
downloadchat-b61f653626df4183ddf2f3d26a4dd955436f15de.tar.gz
chat-b61f653626df4183ddf2f3d26a4dd955436f15de.tar.bz2
chat-b61f653626df4183ddf2f3d26a4dd955436f15de.zip
Merge branch 'master' of https://github.com/mattermost/platform
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r--web/react/components/channel_loader.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/components/channel_loader.jsx b/web/react/components/channel_loader.jsx
index 537a41d03..1b389aa1d 100644
--- a/web/react/components/channel_loader.jsx
+++ b/web/react/components/channel_loader.jsx
@@ -5,12 +5,16 @@
to the server on page load. This is to prevent other React controls from spamming
AsyncClient with requests. */
+var BrowserStore = require('../stores/browser_store.jsx');
var AsyncClient = require('../utils/async_client.jsx');
var SocketStore = require('../stores/socket_store.jsx');
var Constants = require('../utils/constants.jsx');
module.exports = React.createClass({
componentDidMount: function() {
+ // Initalize stores
+ BrowserStore.initalize();
+
/* Start initial aysnc loads */
AsyncClient.getMe();
AsyncClient.getPosts(true);