1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-18 23:48:35 +02:00
Sonarr/UI/Settings/Quality/QualityView.js
2013-03-29 16:28:58 -07:00

22 lines
574 B
JavaScript

'use strict';
define([
'app', 'Settings/SettingsModel'
], function () {
NzbDrone.Settings.Quality.QualityView = Backbone.Marionette.ItemView.extend({
template : 'Settings/Quality/QualityTemplate',
className: 'form-horizontal',
initialize: function (options) {
this.qualityProfileCollection = options.qualityProfiles;
this.model.set({ qualityProfiles: this.qualityProfileCollection });
},
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
}
});
});