Fix issue where details page wont load.

pull/2/head
Leonardo Galli 8 years ago
parent f07f2e77f6
commit bf3c6f95eb

@ -57,7 +57,7 @@ module.exports = Marionette.Layout.extend({
initialize : function() { initialize : function() {
this.moviesCollection = MoviesCollection.clone(); this.moviesCollection = MoviesCollection.clone();
this.moviesCollection.shadowCollection.bindSignalR(); this.moviesCollection.bindSignalR();
this.listenTo(this.model, 'change:monitored', this._setMonitoredState); this.listenTo(this.model, 'change:monitored', this._setMonitoredState);
this.listenTo(this.model, 'remove', this._moviesRemoved); this.listenTo(this.model, 'remove', this._moviesRemoved);

Loading…
Cancel
Save