Less model pollution

This commit is contained in:
Mark McDowall 2013-08-21 14:47:39 -07:00
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 });
}
});
});