mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-13 07:23:14 +00:00
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
19 lines
No EOL
534 B
JavaScript
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;
|
|
}
|
|
}); |