New: Missing/Cutoff Unmet will update when an episode is grabbed

This commit is contained in:
Mark McDowall
2014-06-25 01:31:37 -07:00
parent 83207a0baf
commit cb291d30b3
8 changed files with 65 additions and 42 deletions

View File

@@ -14,7 +14,8 @@ define([
'Shared/LoadingView',
'Shared/Messenger',
'Commands/CommandController',
'backgrid.selectall'
'backgrid.selectall',
'Mixins/backbone.signalr.mixin'
], function (_,
Marionette,
Backgrid,
@@ -81,7 +82,7 @@ define([
],
initialize : function () {
this.collection = new MissingCollection();
this.collection = new MissingCollection().bindSignalR({ updateOnly: true });
this.listenTo(this.collection, 'sync', this._showTable);
},