mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Existing series view loads again
This commit is contained in:
parent
687f8d9384
commit
525963f2a6
6 changed files with 45 additions and 21 deletions
15
UI/AddSeries/Collection.js
Normal file
15
UI/AddSeries/Collection.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
define(['app', 'Series/SeriesModel'], function () {
|
||||
NzbDrone.AddSeries.Collection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/series/lookup',
|
||||
model: NzbDrone.Series.SeriesModel,
|
||||
|
||||
parse: function (response) {
|
||||
_.each(response, function (model) {
|
||||
model.id = undefined;
|
||||
});
|
||||
|
||||
return response;
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue