diff --git a/NzbDrone.Web/Controllers/CommandController.cs b/NzbDrone.Web/Controllers/CommandController.cs index 520609b21..e401f01a4 100644 --- a/NzbDrone.Web/Controllers/CommandController.cs +++ b/NzbDrone.Web/Controllers/CommandController.cs @@ -26,6 +26,12 @@ namespace NzbDrone.Web.Controllers return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet }; } + public JsonResult BacklogSearch() + { + _jobProvider.QueueJob(typeof(BacklogSearchJob)); + return new JsonResult { Data = "ok", JsonRequestBehavior = JsonRequestBehavior.AllowGet }; + } + public JsonResult SyncEpisodesOnDisk(int seriesId) { //Syncs the episodes on disk for the specified series diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index 01ceb302c..810f1e238 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -752,9 +752,6 @@ - - - diff --git a/NzbDrone.Web/Views/Missing/Index.cshtml b/NzbDrone.Web/Views/Missing/Index.cshtml index 4abc3f2bd..dc7925543 100644 --- a/NzbDrone.Web/Views/Missing/Index.cshtml +++ b/NzbDrone.Web/Views/Missing/Index.cshtml @@ -7,6 +7,13 @@ Missing +@section ActionMenu{ + +} + @section MainContent{ @{Html.Telerik().Grid().Name("missing") .TableHtmlAttributes(new { @class = "Grid" }) diff --git a/NzbDrone.Web/Views/Series/SingleSeason.cshtml b/NzbDrone.Web/Views/Series/SingleSeason.cshtml deleted file mode 100644 index a40c08683..000000000 --- a/NzbDrone.Web/Views/Series/SingleSeason.cshtml +++ /dev/null @@ -1,18 +0,0 @@ -@using NzbDrone.Web.Helpers; -@using NzbDrone.Web.Models; -@model SeasonEditModel - -@using (Html.BeginCollectionItem("SeasonEditor")) -{ - var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_'); - -
- - @Html.DisplayFor(m => m.SeasonString) - @Html.CheckBoxFor(m => m.Monitored, new { @class = "chkbox" }) - - @Html.HiddenFor(m => m.SeriesId) - @Html.HiddenFor(m => m.SeasonNumber) - @Html.Hidden(idClean, new { @class = "cleanId", }) -
-} \ No newline at end of file