mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 11:25:26 +00:00
17 lines
No EOL
712 B
JavaScript
17 lines
No EOL
712 B
JavaScript
'use strict';
|
|
|
|
define(['app', 'Quality/QualityProfileCollection', 'Series/Index/Posters/ItemView', 'Config'], function (app, qualityProfileCollection) {
|
|
|
|
NzbDrone.Series.Index.Posters.CollectionView = Backbone.Marionette.CompositeView.extend({
|
|
itemView : NzbDrone.Series.Index.Posters.ItemView,
|
|
itemViewContainer : '#x-series-posters',
|
|
template : 'Series/Index/Posters/CollectionTemplate',
|
|
qualityProfileCollection: qualityProfileCollection,
|
|
|
|
initialize: function () {
|
|
this.qualityProfileCollection.fetch();
|
|
|
|
this.itemViewOptions = { qualityProfiles: this.qualityProfileCollection };
|
|
}
|
|
});
|
|
}); |