2013-03-04 03:09:43 +03:00
|
|
|
'use strict';
|
|
|
|
define([
|
2013-03-30 02:28:58 +03:00
|
|
|
'app', 'Settings/SettingsModel'
|
2013-03-04 03:09:43 +03:00
|
|
|
], function () {
|
|
|
|
NzbDrone.Settings.Quality.QualityView = Backbone.Marionette.ItemView.extend({
|
2013-03-30 02:28:58 +03:00
|
|
|
template : 'Settings/Quality/QualityTemplate',
|
2013-03-07 11:01:18 +03:00
|
|
|
className: 'form-horizontal',
|
|
|
|
|
2013-03-30 02:28:58 +03:00
|
|
|
initialize: function (options) {
|
2013-03-07 11:01:18 +03:00
|
|
|
this.qualityProfileCollection = options.qualityProfiles;
|
|
|
|
this.model.set({ qualityProfiles: this.qualityProfileCollection });
|
2013-04-19 02:14:08 +03:00
|
|
|
}
|
2013-03-04 03:09:43 +03:00
|
|
|
});
|
|
|
|
});
|