mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 10:17:47 +00:00
13 lines
No EOL
615 B
JavaScript
13 lines
No EOL
615 B
JavaScript
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') }});
|
|
}
|
|
});
|
|
}); |