mirror of
https://github.com/Radarr/Radarr
synced 2024-12-28 10:51:48 +00:00
6b8314206a
Using bootstrap slider
21 lines
576 B
JavaScript
21 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);
|
|
}
|
|
});
|
|
});
|