Commit 9e350f7e authored by Randall Leeds's avatar Randall Leeds

send stream filter object as JSON

Not sure how this wasn't totally broken for @gergely-ujvari.
parent 66abe206
......@@ -181,7 +181,7 @@ class Streamer
$scope.sock = new SockJS(window.location.protocol + '//' + window.location.hostname + ':' + window.location.port + '/__streamer__', transports)
$scope.sock.onopen = ->
$scope.sock.send $scope.filter
$scope.sock.send (JSON.stringify $scope.filter)
$scope.$apply =>
$scope.streaming = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment