1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

fixed add series

This commit is contained in:
Keivan Beigi 2013-05-03 16:09:09 -07:00
parent 68f93dbb10
commit 6ecfbe0c23

View File

@ -3,7 +3,7 @@ define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], func
NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({ NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({
template : "AddSeries/SearchResultTemplate", template: "AddSeries/SearchResultTemplate",
ui: { ui: {
qualityProfile: '.x-quality-profile', qualityProfile: '.x-quality-profile',
@ -30,6 +30,7 @@ define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], func
var self = this; var self = this;
this.model.save(undefined, { this.model.save(undefined, {
url : NzbDrone.Series.SeriesCollection.prototype.url,
success: function () { success: function () {
var notificationModel = new NzbDrone.Shared.NotificationModel({ var notificationModel = new NzbDrone.Shared.NotificationModel({
title : 'Added', title : 'Added',