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
12 years ago
|
"use strict";
|
||
|
|
||
12 years ago
|
define(['app', 'Cells/NzbDroneCell'], function () {
|
||
|
NzbDrone.Cells.EpisodeTitleCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||
12 years ago
|
|
||
|
className: 'episode-title-cell',
|
||
|
|
||
|
events: {
|
||
|
'click': 'showDetails'
|
||
|
},
|
||
|
|
||
|
showDetails: function () {
|
||
12 years ago
|
var view = new NzbDrone.Episode.Layout({ model: this.cellValue });
|
||
12 years ago
|
NzbDrone.modalRegion.show(view);
|
||
12 years ago
|
},
|
||
|
|
||
|
render: function () {
|
||
|
this.$el.html(this.cellValue.get('title'));
|
||
|
return this;
|
||
12 years ago
|
}
|
||
|
});
|
||
|
});
|