Less model pollution

This commit is contained in:
Mark McDowall
2013-08-21 14:47:39 -07:00
parent 488da59143
commit 8e2364966a
8 changed files with 26 additions and 31 deletions

View File

@@ -2,11 +2,11 @@
define(
[
'backgrid',
'Cells/NzbDroneCell',
'moment',
'Shared/FormatHelpers'
], function (Backgrid, Moment, FormatHelpers) {
return Backgrid.Cell.extend({
], function (NzbDroneCell, Moment, FormatHelpers) {
return NzbDroneCell.extend({
className: 'episode-status-cell',

View File

@@ -25,7 +25,9 @@ define(
},
_showDetails: function () {
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.cellValue});
var hideSeriesLink = this.column.get('hideSeriesLink');
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.cellValue, hideSeriesLink: hideSeriesLink });
}
});
});