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.
15 lines
630 B
15 lines
630 B
"use strict";
|
|
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonCompositeView', 'Series/SeasonCollection'], function () {
|
|
NzbDrone.Series.Details.SeriesDetailsView = Backbone.Marionette.CompositeView.extend({
|
|
|
|
itemView : NzbDrone.Series.Details.SeasonCompositeView,
|
|
itemViewContainer: '.x-series-seasons',
|
|
template : 'Series/Details/SeriesDetailsTemplate',
|
|
|
|
initialize: function () {
|
|
this.collection = new NzbDrone.Series.SeasonCollection();
|
|
this.collection.fetch({data: { seriesId: this.model.get('id') }});
|
|
}
|
|
});
|
|
});
|