You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
709 B
19 lines
709 B
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonCollectionView'], function (app, qualityProfileCollection) {
|
|
NzbDrone.Series.Details.SeriesDetailsView = Backbone.Marionette.CompositeView.extend({
|
|
itemView: NzbDrone.Series.Details.SeasonCollectionView,
|
|
itemViewContainer: '#seasons',
|
|
template: 'Series/Details/SeriesDetailsTemplate',
|
|
qualityProfileCollection: qualityProfileCollection,
|
|
|
|
initialize: function (options) {
|
|
this.collection = options.collection;
|
|
|
|
this.qualityProfileCollection.fetch();
|
|
},
|
|
|
|
onCompositeCollectionRendered: function()
|
|
{
|
|
var test = 1;
|
|
}
|
|
});
|
|
}); |