mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
fully working add series
This commit is contained in:
parent
57ccc51393
commit
96810c489c
21 changed files with 295 additions and 314 deletions
|
@ -4,7 +4,7 @@ define(
|
|||
'backbone',
|
||||
'Series/SeriesModel'
|
||||
], function (Backbone, SeriesModel) {
|
||||
var collection = Backbone.Collection.extend({
|
||||
var Collection = Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/series',
|
||||
model: SeriesModel,
|
||||
|
||||
|
@ -18,5 +18,8 @@ define(
|
|||
}
|
||||
});
|
||||
|
||||
return new collection();
|
||||
var collection = new Collection();
|
||||
collection.fetch();
|
||||
|
||||
return collection;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue