fixed add series

This commit is contained in:
Keivan Beigi 2013-05-03 16:09:09 -07:00
parent 68f93dbb10
commit 6ecfbe0c23
1 changed files with 2 additions and 1 deletions

View File

@ -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',