diff --git a/UI/AddSeries/Collection.js b/UI/AddSeries/Collection.js index 2d7b73808..41e1a2c31 100644 --- a/UI/AddSeries/Collection.js +++ b/UI/AddSeries/Collection.js @@ -5,10 +5,7 @@ define(['app', 'Series/SeriesModel'], function () { model: NzbDrone.Series.SeriesModel, parse: function (response) { - _.each(response, function (model) { - model.id = undefined; - }); - + response.id = undefined; return response; } }); diff --git a/UI/AddSeries/Existing/ImportSeriesView.js b/UI/AddSeries/Existing/ImportSeriesView.js index d2fd617ab..026cc386d 100644 --- a/UI/AddSeries/Existing/ImportSeriesView.js +++ b/UI/AddSeries/Existing/ImportSeriesView.js @@ -18,11 +18,6 @@ define([ 'click .x-add': 'addSeries' }, - initialize: function () { - this.model.set('isExisting', true); - this.model.set('id', undefined); - }, - addSeries: function () { var icon = this.ui.addButton.find('icon'); icon.removeClass('icon-plus').addClass('icon-spin icon-spinner disabled');