Fixed: Set episode's monitored status from missing and calendar

pull/4/head
Mark McDowall 11 years ago
parent cc66077943
commit 28aee91d3f

@ -8,6 +8,18 @@ define(
defaults: {
seasonNumber: 0,
status : 0
},
methodUrls: {
'update': window.NzbDrone.ApiRoot + '/episodes'
},
sync: function(method, model, options) {
if (model.methodUrls && model.methodUrls[method.toLowerCase()]) {
options = options || {};
options.url = model.methodUrls[method.toLowerCase()];
}
Backbone.sync(method, model, options);
}
});
});

Loading…
Cancel
Save