##// END OF EJS Templates
channelstream: connect only when enabled
ergo -
r798:a3510314 default
parent child Browse files
Show More
@@ -32,6 +32,7 b' var rhodeCodeApp = Polymer({'
32 32 for (var i = 0; i < addChannels.length; i++) {
33 33 channels.push(addChannels[i]);
34 34 }
35 if (window.CHANNELSTREAM_SETTINGS && CHANNELSTREAM_SETTINGS.enabled){
35 36 var channelstreamConnection = this.$['channelstream-connection'];
36 37 channelstreamConnection.connectUrl = CHANNELSTREAM_URLS.connect;
37 38 channelstreamConnection.subscribeUrl = CHANNELSTREAM_URLS.subscribe;
@@ -44,6 +45,7 b' var rhodeCodeApp = Polymer({'
44 45 // append any additional channels registered in other plugins
45 46 $.Topic('/connection_controller/subscribe').processPrepared();
46 47 channelstreamConnection.connect();
48 }
47 49 },
48 50
49 51 checkViewChannels: function () {
General Comments 0
You need to be logged in to leave comments. Login now