RootFolder removed from Series, going back to Path

This commit is contained in:
Mark McDowall 2013-05-23 21:10:56 -07:00
commit 95a9a297bc
14 changed files with 21 additions and 98 deletions

View file

@ -29,12 +29,10 @@ define([
var self = this;
var quality = this.ui.qualityProfile.val();
var rootFolderId = this.options.rootFolder.id;
var folderName = this.options.folder.name;
var path = this.options.folder.path;
this.model.set('qualityProfileId', quality);
this.model.set('rootFolderId', rootFolderId);
this.model.set('folderName', folderName);
this.model.set('path', path);
this.model.save(undefined, {
success: function () {

View file

@ -24,10 +24,10 @@ define(['app', 'Series/SeriesCollection'], function (app) {
icon.removeClass('icon-plus').addClass('icon-spin icon-spinner disabled');
var quality = this.ui.qualityProfile.val();
var rootFolderId = this.ui.rootFolder.val();
var rootFolderPath = this.ui.rootFolder.children(':selected').text();
this.model.set('qualityProfileId', quality);
this.model.set('rootFolderId', rootFolderId);
this.model.set('rootFolderPath', rootFolderPath);
var self = this;