1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 17:59:14 +00:00
Radarr/UI/Calendar/UpcomingItemView.js

21 lines
503 B
JavaScript
Raw Normal View History

2013-06-07 05:33:01 +00:00
'use strict';
define(
[
2013-06-28 15:43:37 +00:00
'app',
'marionette'
], function (App, Marionette) {
return Marionette.ItemView.extend({
template: 'Calendar/UpcomingItemTemplate',
2013-06-28 15:43:37 +00:00
tagName : 'div',
events: {
'click .x-episode-title': '_showEpisodeDetails'
2013-06-28 15:43:37 +00:00
},
_showEpisodeDetails: function () {
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.model});
2013-06-28 15:43:37 +00:00
}
});
2013-06-07 05:33:01 +00:00
});