mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
19 lines
709 B
JavaScript
19 lines
709 B
JavaScript
|
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;
|
||
|
}
|
||
|
});
|
||
|
});
|