Episode details summary has access to series now

This commit is contained in:
Mark McDowall 2013-08-21 15:26:16 -07:00 committed by Mark McDowall
commit b1fa306223
4 changed files with 12 additions and 5 deletions

View file

@ -36,9 +36,8 @@ define(
initialize: function (options) {
this.templateHelpers.hideSeriesLink = options.hideSeriesLink;
var series = SeriesCollection.find({ id: this.model.get('seriesId') });
this.templateHelpers.series = series.toJSON();
var test = 1;
this.series = SeriesCollection.find({ id: this.model.get('seriesId') });
this.templateHelpers.series = this.series.toJSON();
},
onShow: function () {
@ -53,7 +52,7 @@ define(
}
this.ui.summary.tab('show');
this.summary.show(new SummaryLayout({model: this.model}));
this.summary.show(new SummaryLayout({model: this.model, series: this.series}));
},
_showActivity: function (e) {