Fixed issues with edit/delete series modal.

This commit is contained in:
kay.one 2013-07-23 21:16:52 -07:00
parent 62cea8de5e
commit 437a28c10d
8 changed files with 29 additions and 50 deletions

View file

@ -3,9 +3,8 @@
define(
[
'app',
'Cells/NzbDroneCell',
'Episode/Layout'
], function (App, NzbDroneCell, EpisodeLayout) {
'Cells/NzbDroneCell'
], function (App, NzbDroneCell) {
return NzbDroneCell.extend({
className: 'episode-title-cell',
@ -15,8 +14,7 @@ define(
},
showDetails: function () {
var view = new EpisodeLayout({ model: this.cellValue });
App.modalRegion.show(view);
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.cellValue});
},
render: function () {