From 139bfc3c273a04e593ecf1c24e878f1780dc8a45 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 23 Apr 2013 17:36:08 -0700 Subject: [PATCH] Fixed add existing series --- UI/AddSeries/Existing/ImportSeriesView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/AddSeries/Existing/ImportSeriesView.js b/UI/AddSeries/Existing/ImportSeriesView.js index b5d796247..5d41e1809 100644 --- a/UI/AddSeries/Existing/ImportSeriesView.js +++ b/UI/AddSeries/Existing/ImportSeriesView.js @@ -5,6 +5,10 @@ define([ NzbDrone.AddSeries.Existing.FolderMatchResultView = Backbone.Marionette.ItemView.extend({ template: 'AddSeries/SearchResultTemplate', + ui: { + qualityProfile: '.x-quality-profile' + }, + events: { 'click .x-add': 'addSeries' }, @@ -17,7 +21,7 @@ define([ var self = this; - var quality = this.options.qualityProfile.val(); + var quality = this.ui.qualityProfile.val(); var rootFolderId = this.options.rootFolder.id; var folder = this.options.folder.name;