1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

Fixed series editor

This commit is contained in:
Mark McDowall 2013-12-13 00:06:56 -08:00
parent 7dc641b3a9
commit 96868d088f
3 changed files with 8 additions and 2 deletions

View file

@ -8,8 +8,11 @@ define(
className : 'season-folder-cell',
render: function () {
var seasonFolder = this.model.get('seasonFolder');
this.$el.empty();
var seasonFolder = this.model.get(this.column.get('name'));
this.$el.html(seasonFolder.toString());
return this;
}
});

View file

@ -94,6 +94,8 @@ define(
model.set('rootFolderPath', rootFolderPath.get('path'));
}
model.edited = true;
});
SeriesCollection.save();
@ -150,6 +152,7 @@ define(
SeriesCollection.each(function (model) {
model.trigger('backgrid:select', model, false);
model.edited = false;
});
}
});

View file

@ -68,7 +68,7 @@ define(
cell : QualityProfileCell
},
{
name : 'monitored',
name : 'seasonFolder',
label: 'Season Folder',
cell : SeasonFolderCell
},