mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 11:46:09 +00:00
20 lines
753 B
JavaScript
20 lines
753 B
JavaScript
"use strict";
|
|
define(['app', 'Quality/QualityProfileCollection', 'Series/Details/SeasonLayout', 'Series/SeasonCollection'], function () {
|
|
NzbDrone.Series.Details.SeriesDetailsView = Backbone.Marionette.CompositeView.extend({
|
|
|
|
itemView : NzbDrone.Series.Details.SeasonLayout,
|
|
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') }});
|
|
|
|
//$.backstretch(this.model.get('fanArt'));
|
|
},
|
|
|
|
onClose: function(){
|
|
$('.backstretch').remove();
|
|
}
|
|
});
|
|
});
|