1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00

Fixed: series remembered when adding

This commit is contained in:
Mark McDowall 2014-07-28 07:31:31 -07:00
parent e867548ec3
commit 0200e3fa59

View file

@ -68,7 +68,7 @@ define(
var defaultProfile = Config.getValue(Config.Keys.DefaultProfileId);
var defaultRoot = Config.getValue(Config.Keys.DefaultRootFolderId);
var useSeasonFolder = Config.getValueBoolean(Config.Keys.UseSeasonFolder, true);
var defaultSeriesType = Config.getValueBoolean(Config.Keys.DefaultSeriesType, true);
var defaultSeriesType = Config.getValue(Config.Keys.DefaultSeriesType, 'standard');
if (Profiles.get(defaultProfile)) {
this.ui.profile.val(defaultProfile);
@ -79,7 +79,7 @@ define(
}
this.ui.seasonFolder.prop('checked', useSeasonFolder);
this.ui.rootFolder.val(defaultSeriesType);
this.ui.seriesType.val(defaultSeriesType);
var minSeasonNotZero = _.min(_.reject(this.model.get('seasons'), { seasonNumber: 0 }), 'seasonNumber');