You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
554 B
23 lines
554 B
"use strict";
|
|
|
|
define(['app', 'Cells/NzbDroneCell'], function () {
|
|
NzbDrone.Cells.EpisodeTitleCell = NzbDrone.Cells.NzbDroneCell.extend({
|
|
|
|
className: 'episode-title-cell',
|
|
|
|
events: {
|
|
'click': 'showDetails'
|
|
},
|
|
|
|
showDetails: function () {
|
|
var view = new NzbDrone.Episode.Layout({ model: this.cellValue });
|
|
NzbDrone.modalRegion.show(view);
|
|
},
|
|
|
|
render: function () {
|
|
this.$el.html(this.cellValue.get('title'));
|
|
return this;
|
|
}
|
|
});
|
|
});
|