mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed issues with edit/delete series modal.
This commit is contained in:
parent
62cea8de5e
commit
437a28c10d
8 changed files with 29 additions and 50 deletions
|
@ -3,20 +3,18 @@
|
|||
define(
|
||||
[
|
||||
'app',
|
||||
'marionette',
|
||||
'Episode/Layout'
|
||||
], function (App, Marionette, EpisodeLayout) {
|
||||
'marionette'
|
||||
], function (App, Marionette) {
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'Calendar/UpcomingItemTemplate',
|
||||
tagName : 'div',
|
||||
|
||||
events : {
|
||||
'click .x-episode-title' : '_showEpisodeDetails'
|
||||
events: {
|
||||
'click .x-episode-title': '_showEpisodeDetails'
|
||||
},
|
||||
|
||||
_showEpisodeDetails : function() {
|
||||
var view = new EpisodeLayout({ model: this.model });
|
||||
App.modalRegion.show(view);
|
||||
_showEpisodeDetails: function () {
|
||||
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.model});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue