mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
fixed add series
This commit is contained in:
parent
68f93dbb10
commit
6ecfbe0c23
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user