mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Profiles
Indexes are created with the same uniqueness when copying a table New: Non-English episode support New: Renamed Quality Profiles to Profiles and made them more powerful New: Configurable wait time before grabbing a release to wait for a better quality
This commit is contained in:
parent
b72678a9ad
commit
74a38415cf
182 changed files with 2493 additions and 2433 deletions
|
@ -3,17 +3,17 @@ define(
|
|||
[
|
||||
'vent',
|
||||
'marionette',
|
||||
'Quality/QualityProfileCollection',
|
||||
'Profile/ProfileCollection',
|
||||
'Mixins/AsModelBoundView',
|
||||
'Mixins/AsValidatedView',
|
||||
'Mixins/AutoComplete'
|
||||
], function (vent, Marionette, QualityProfiles, AsModelBoundView, AsValidatedView) {
|
||||
], function (vent, Marionette, Profiles, AsModelBoundView, AsValidatedView) {
|
||||
|
||||
var view = Marionette.ItemView.extend({
|
||||
template: 'Series/Edit/EditSeriesViewTemplate',
|
||||
|
||||
ui: {
|
||||
qualityProfile: '.x-quality-profile',
|
||||
profile: '.x-profile',
|
||||
path : '.x-path'
|
||||
},
|
||||
|
||||
|
@ -24,14 +24,14 @@ define(
|
|||
|
||||
|
||||
initialize: function () {
|
||||
this.model.set('qualityProfiles', QualityProfiles);
|
||||
this.model.set('profiles', Profiles);
|
||||
},
|
||||
|
||||
_saveSeries: function () {
|
||||
|
||||
var self = this;
|
||||
var qualityProfileId = this.ui.qualityProfile.val();
|
||||
this.model.set({ qualityProfileId: qualityProfileId});
|
||||
var profileId = this.ui.profile.val();
|
||||
this.model.set({ profileId: profileId});
|
||||
|
||||
this.model.save().done(function () {
|
||||
self.trigger('saved');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue