mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed series editor
This commit is contained in:
@@ -8,8 +8,11 @@ define(
|
|||||||
className : 'season-folder-cell',
|
className : 'season-folder-cell',
|
||||||
|
|
||||||
render: function () {
|
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());
|
this.$el.html(seasonFolder.toString());
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -94,6 +94,8 @@ define(
|
|||||||
|
|
||||||
model.set('rootFolderPath', rootFolderPath.get('path'));
|
model.set('rootFolderPath', rootFolderPath.get('path'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model.edited = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
SeriesCollection.save();
|
SeriesCollection.save();
|
||||||
@@ -150,6 +152,7 @@ define(
|
|||||||
|
|
||||||
SeriesCollection.each(function (model) {
|
SeriesCollection.each(function (model) {
|
||||||
model.trigger('backgrid:select', model, false);
|
model.trigger('backgrid:select', model, false);
|
||||||
|
model.edited = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ define(
|
|||||||
cell : QualityProfileCell
|
cell : QualityProfileCell
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : 'monitored',
|
name : 'seasonFolder',
|
||||||
label: 'Season Folder',
|
label: 'Season Folder',
|
||||||
cell : SeasonFolderCell
|
cell : SeasonFolderCell
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user