##// END OF EJS Templates
frontend: latest js version
ergo -
Show More
@@ -7043,6 +7043,7 b' function ChannelstreamController($rootScope, stateHolder, userSelfPropertyResour'
7043 };
7043 };
7044 stateHolder.websocket.onmessage = function (event) {
7044 stateHolder.websocket.onmessage = function (event) {
7045 var data = JSON.parse(event.data);
7045 var data = JSON.parse(event.data);
7046 $scope.$apply(function (scope) {
7046 _.each(data, function (message) {
7047 _.each(data, function (message) {
7047
7048
7048 if(typeof message.message.topic !== 'undefined'){
7049 if(typeof message.message.topic !== 'undefined'){
@@ -7053,6 +7054,7 b' function ChannelstreamController($rootScope, stateHolder, userSelfPropertyResour'
7053 $rootScope.$broadcast('channelstream-message', message);
7054 $rootScope.$broadcast('channelstream-message', message);
7054 }
7055 }
7055 });
7056 });
7057 });
7056 };
7058 };
7057 stateHolder.websocket.onclose = function (event) {
7059 stateHolder.websocket.onclose = function (event) {
7058
7060
General Comments 0
You need to be logged in to leave comments. Login now