1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-03-13 07:23:14 +00:00
Lidarr/src/UI/Cells/EpisodeFilePathCell.js
Mark McDowall 8ab0b26773 Episode file editor
New: Ability to delete all episode files in a series or season
New: Ability to change quality for all episode files in a series or season
2015-02-21 11:13:24 -08:00

19 lines
No EOL
534 B
JavaScript

var reqres = require('../reqres');
var NzbDroneCell = require('./NzbDroneCell');
module.exports = NzbDroneCell.extend({
className : 'episode-file-path-cell',
render : function() {
this.$el.empty();
if (reqres.hasHandler(reqres.Requests.GetEpisodeFileById)) {
var episodeFile = reqres.request(reqres.Requests.GetEpisodeFileById, this.model.get('episodeFileId'));
this.$el.html(episodeFile.get('relativePath'));
}
this.delegateEvents();
return this;
}
});