Fixed SignalR - Its FM!

This commit is contained in:
Mark McDowall 2012-12-18 17:40:47 -08:00
commit eb42272764
6 changed files with 26 additions and 7 deletions

View file

@ -66,10 +66,10 @@ function reloadGrid() {
//SignalR
$(function () {
// Proxy created on the fly
var signalRProvider = $.connection.signalRProvider;
var episodeHub = $.connection.episodeHub;
// Declare a function on the chat hub so the server can invoke it
signalRProvider.updatedStatus = function (data) {
episodeHub.updatedStatus = function (data) {
var row = $('[data-episode-id="' + data.EpisodeId + '"]');
if (row.length == 0)