You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/UI/AddSeries/Collection.js

21 lines
480 B

'use strict';
11 years ago
define(
[
'backbone',
'Series/SeriesModel'
], function (Backbone, SeriesModel) {
11 years ago
return Backbone.Collection.extend({
url : window.ApiRoot + '/series/lookup',
11 years ago
model: SeriesModel,
11 years ago
parse: function (response) {
11 years ago
_.each(response, function (model) {
model.id = undefined;
});
11 years ago
return response;
}
});
});