mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 13:01:28 +02: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:
@@ -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');
|
||||
|
Reference in New Issue
Block a user