1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-06 11:02:40 +01:00
Radarr/NzbDrone.Backbone/Settings/Quality/QualityView.js
Mark McDowall 6b8314206a Quality Settings divided up in layout
Using bootstrap slider
2013-03-07 00:01:18 -08:00

22 lines
576 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);
}
});
});