From 6ecfbe0c2391a008c5d58927bbdd82a59d2fca56 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Fri, 3 May 2013 16:09:09 -0700 Subject: [PATCH] fixed add series --- UI/AddSeries/New/SearchResultView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/AddSeries/New/SearchResultView.js b/UI/AddSeries/New/SearchResultView.js index f50915505..1147d4a5a 100644 --- a/UI/AddSeries/New/SearchResultView.js +++ b/UI/AddSeries/New/SearchResultView.js @@ -3,7 +3,7 @@ define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], func NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({ - template : "AddSeries/SearchResultTemplate", + template: "AddSeries/SearchResultTemplate", ui: { qualityProfile: '.x-quality-profile', @@ -30,6 +30,7 @@ define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], func var self = this; this.model.save(undefined, { + url : NzbDrone.Series.SeriesCollection.prototype.url, success: function () { var notificationModel = new NzbDrone.Shared.NotificationModel({ title : 'Added',