parent
c5b845cbee
commit
6447b78a5a
@ -1,19 +1,11 @@
|
|||||||
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonCollectionView'], function (app, qualityProfileCollection) {
|
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonCompositeView'], function () {
|
||||||
NzbDrone.Series.Details.SeriesDetailsView = Backbone.Marionette.CompositeView.extend({
|
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();
|
itemView: NzbDrone.Series.Details.SeasonCompositeView,
|
||||||
},
|
itemViewContainer: '.x-series-seasons',
|
||||||
|
template: 'Series/Details/SeriesDetailsTemplate',
|
||||||
|
|
||||||
onCompositeCollectionRendered: function()
|
initialize: function () {
|
||||||
{
|
|
||||||
var test = 1;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
Reference in new issue