mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
fixed calendar view
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user