mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
21 lines
553 B
JavaScript
21 lines
553 B
JavaScript
|
"use strict";
|
||
|
|
||
|
define(['app', 'Episode/Layout'], function () {
|
||
|
NzbDrone.Series.Details.EpisodeDetailCell = Backgrid.Cell.extend({
|
||
|
|
||
|
events: {
|
||
|
'click': 'showDetails'
|
||
|
},
|
||
|
render: function () {
|
||
|
this.$el.empty();
|
||
|
this.$el.html('<i class="icon-ellipsis-vertical x-detail-icon"/>');
|
||
|
return this;
|
||
|
},
|
||
|
|
||
|
showDetails: function () {
|
||
|
var view = new NzbDrone.Episode.Layout({ model: this.model });
|
||
|
NzbDrone.modalRegion.show(view);
|
||
|
}
|
||
|
});
|
||
|
});
|