mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
much smarter handling of series collection rendering.
This commit is contained in:
parent
263700954e
commit
b9b9ad6fb5
10 changed files with 117 additions and 94 deletions
|
@ -1,10 +1,10 @@
|
|||
'use strict';
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'Series/SeriesModel'
|
||||
], function (Backbone, SeriesModel) {
|
||||
return Backbone.Collection.extend({
|
||||
var collection = Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/series',
|
||||
model: SeriesModel,
|
||||
|
||||
|
@ -17,4 +17,6 @@ define(
|
|||
order : -1
|
||||
}
|
||||
});
|
||||
|
||||
return new collection();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue