mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
fixed calendar view
This commit is contained in:
parent
70cfa5e685
commit
aca5d1f361
6 changed files with 51 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
"use strict";
|
||||
define(['app','Series/SeriesModel'], function () {
|
||||
define(['app', 'Series/SeriesModel'], function () {
|
||||
NzbDrone.Series.EpisodeModel = Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
|
@ -62,6 +62,13 @@ define(['app','Series/SeriesModel'], function () {
|
|||
return model;
|
||||
},
|
||||
|
||||
toJSON: function () {
|
||||
var json = _.clone(this.attributes);
|
||||
json.series = this.get('series').toJSON();
|
||||
|
||||
return json;
|
||||
},
|
||||
|
||||
defaults: {
|
||||
seasonNumber: 0,
|
||||
status : 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue