From 43e4c16cbf0b578363a7b2e8fcc7307cf6828ef3 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 31 Jan 2015 00:31:40 -0800 Subject: [PATCH] Couple fixes --- src/NzbDrone.Api/Indexers/ReleaseResource.cs | 3 +++ src/UI/Activity/Queue/QueueActionsCell.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Indexers/ReleaseResource.cs b/src/NzbDrone.Api/Indexers/ReleaseResource.cs index 6ead9eb8d..29111d835 100644 --- a/src/NzbDrone.Api/Indexers/ReleaseResource.cs +++ b/src/NzbDrone.Api/Indexers/ReleaseResource.cs @@ -46,6 +46,9 @@ namespace NzbDrone.Api.Indexers public int? Leechers { get; set; } public DownloadProtocol Protocol { get; set; } + //TODO: besides a test I don't think this is used... + public DownloadProtocol DownloadProtocol { get; set; } + public Boolean IsDaily { get; set; } public Boolean IsAbsoluteNumbering { get; set; } public Boolean IsPossibleSpecialEpisode { get; set; } diff --git a/src/UI/Activity/Queue/QueueActionsCell.js b/src/UI/Activity/Queue/QueueActionsCell.js index 613006c85..4c5c4b7cc 100644 --- a/src/UI/Activity/Queue/QueueActionsCell.js +++ b/src/UI/Activity/Queue/QueueActionsCell.js @@ -17,7 +17,8 @@ define( }, ui: { - 'import' : '.x-import' + import : '.x-import', + grab : '.x-grab' }, render: function () { @@ -90,6 +91,8 @@ define( data: JSON.stringify(this.model.toJSON()) }); + $(this.ui.grab).spinForPromise(promise); + promise.success(function () { //find models that have the same series id and episode ids and remove them self.model.trigger('destroy', self.model);