mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Add existing series uses existing path now
This commit is contained in:
@@ -18,7 +18,10 @@ define([
|
||||
var seriesId = this.model.get('id');
|
||||
var title = this.model.get('seriesName');
|
||||
var quality = this.options.qualityProfile.val();
|
||||
var path = this.options.rootFolder + "\\" + title;
|
||||
|
||||
//Todo: WTF - Why are we changing the series path if the path already exists on disk?
|
||||
//Todo: This wiil create an invalid path on linux...
|
||||
var path = this.options.folder.path;
|
||||
|
||||
var model = new NzbDrone.Series.SeriesModel({
|
||||
seriesId:seriesId,
|
||||
@@ -88,7 +91,8 @@ define([
|
||||
itemViewOptions:function () {
|
||||
return {
|
||||
qualityProfile:this.ui.profileList,
|
||||
rootFolder:this.model.get('rootFolder')
|
||||
rootFolder: this.model.get('rootFolder'),
|
||||
folder: this.model.get('folder')
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<div class="row unmapped-folder-view">
|
||||
<div class="span11">
|
||||
<div class="row folder-header">
|
||||
<input class="x-txt-search input-xlarge" type="text" value="{{folder}}" placeholder="{{folder}}"></input>
|
||||
<input class="x-txt-search input-xlarge" type="text" value="{{folder.name}}" placeholder="{{folder.name}}"></input>
|
||||
<select class="span2 x-lst-quality-profile">
|
||||
{{#each quality.models}}
|
||||
<option value="{{id}}">{{attributes.name}}</option>
|
||||
|
||||
@@ -14,8 +14,6 @@ define(['app','Quality/QualityProfileCollection'], function (app, qualityProfile
|
||||
NzbDrone.AddSeries.Existing.UnmappedFolderCollection = Backbone.Collection.extend({
|
||||
model: NzbDrone.AddSeries.Existing.UnmappedFolderModel,
|
||||
|
||||
|
||||
|
||||
importItems: function (rootFolderModel) {
|
||||
|
||||
this.reset();
|
||||
|
||||
Reference in New Issue
Block a user