1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-21 01:49:57 +02:00
Sonarr/UI/Series/Details/SeriesDetailsView.js

13 lines
615 B
JavaScript
Raw Normal View History

2013-03-04 01:42:26 +03:00
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonCompositeView', 'Series/SeasonCollection'], function () {
2013-03-02 22:13:23 +03:00
NzbDrone.Series.Details.SeriesDetailsView = Backbone.Marionette.CompositeView.extend({
itemView : NzbDrone.Series.Details.SeasonCompositeView,
itemViewContainer: '.x-series-seasons',
template : 'Series/Details/SeriesDetailsTemplate',
2013-03-02 22:13:23 +03:00
initialize: function () {
2013-03-04 01:42:26 +03:00
this.collection = new NzbDrone.Series.SeasonCollection();
this.collection.fetch({data: { seriesId: this.model.get('id') }});
2013-03-02 22:13:23 +03:00
}
});
});