From 82f0751a150fafaeb3cd92be379417c13b8f1bc5 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 18 Nov 2012 18:39:16 -0800 Subject: [PATCH] Search History Force Download Fixed: Issue with Force Download in Search History --- NzbDrone.Web/Controllers/SearchHistoryController.cs | 2 +- NzbDrone.Web/Views/SearchHistory/Details.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Web/Controllers/SearchHistoryController.cs b/NzbDrone.Web/Controllers/SearchHistoryController.cs index 96c696e33..15916a9d8 100644 --- a/NzbDrone.Web/Controllers/SearchHistoryController.cs +++ b/NzbDrone.Web/Controllers/SearchHistoryController.cs @@ -68,7 +68,7 @@ namespace NzbDrone.Web.Controllers { _searchHistoryProvider.ForceDownload(id); - return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet }; + return JsonNotificationResult.Info("Success", "Requested episode has been sent to download client"); } public string GetDisplayName(SearchHistory searchResult) diff --git a/NzbDrone.Web/Views/SearchHistory/Details.cshtml b/NzbDrone.Web/Views/SearchHistory/Details.cshtml index 01bf9674d..2aa409d0f 100644 --- a/NzbDrone.Web/Views/SearchHistory/Details.cshtml +++ b/NzbDrone.Web/Views/SearchHistory/Details.cshtml @@ -38,7 +38,7 @@ function actionColumn(source, type, val) { if (type === 'display' || type === 'filter') { - return ''; + return ''; } // 'sort' and 'type' both just use the raw data return '';