From 4c04325ba8476748cbb5eb236946209011a86918 2016-10-04 17:02:53 From: Marcin Lulek Date: 2016-10-04 17:02:53 Subject: [PATCH] frontend: latest js version --- diff --git a/backend/src/appenlight/static/js/appenlight.js b/backend/src/appenlight/static/js/appenlight.js index 00dfbd4..3c31140 100644 --- a/backend/src/appenlight/static/js/appenlight.js +++ b/backend/src/appenlight/static/js/appenlight.js @@ -7043,7 +7043,7 @@ function ChannelstreamController($rootScope, stateHolder, userSelfPropertyResour }; stateHolder.websocket.onmessage = function (event) { var data = JSON.parse(event.data); - $scope.$apply(function (scope) { + $rootScope.$apply(function (scope) { _.each(data, function (message) { if(typeof message.message.topic !== 'undefined'){