@ -1,6 +1,8 @@
"use strict";
define(['app'], function () {
define(['app','Cells/NzbDroneCell'], function () {
NzbDrone.Cells.RelativeDateCell = Backgrid.Cell.extend({
NzbDrone.Cells.RelativeDateCell = NzbDrone.Cells.NzbDroneCell.extend({
className : 'relative-date-cell',
render: function () {
@ -5,3 +5,15 @@
.episode-title-cell {
.btn-link;
}
.air-date-cell {
width: 100px;
.relative-date-cell {
width: 150px;
.quality-cell{
width: 130px;
@ -75,8 +75,10 @@ define(['app', 'Series/SeriesModel'], function () {
}, this));
if (this.has('series'))
{
json.series = this.get('series').toJSON();
return json;
},