From 4b903f22919c38f0e12f8bc387bbae95b4584d15 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 24 Feb 2012 21:28:29 -0800 Subject: [PATCH] Fix: Add Series Series lookup will show an AJAX wheel when loading. --- .../Views/AddSeries/ExistingSeries.cshtml | 28 +--------- NzbDrone.Web/Views/AddSeries/Index.cshtml | 55 ++++++++++++++++--- 2 files changed, 48 insertions(+), 35 deletions(-) diff --git a/NzbDrone.Web/Views/AddSeries/ExistingSeries.cshtml b/NzbDrone.Web/Views/AddSeries/ExistingSeries.cshtml index a0fb5bfd9..39757eb61 100644 --- a/NzbDrone.Web/Views/AddSeries/ExistingSeries.cshtml +++ b/NzbDrone.Web/Views/AddSeries/ExistingSeries.cshtml @@ -5,33 +5,7 @@ @{ Layout = null; } - + @if (Model.ExistingSeries.Count == 0) {

diff --git a/NzbDrone.Web/Views/AddSeries/Index.cshtml b/NzbDrone.Web/Views/AddSeries/Index.cshtml index 7ac2afb3e..23bf63cce 100644 --- a/NzbDrone.Web/Views/AddSeries/Index.cshtml +++ b/NzbDrone.Web/Views/AddSeries/Index.cshtml @@ -1,15 +1,43 @@ @using NzbDrone.Web.Helpers @{ViewBag.Title = "Add Series";} -@section Scripts + +@section HeaderContent { - @Html.IncludeScript("NzbDrone/addSeries.js") + } + @{Html.RenderAction("RootDir");}

@@ -22,4 +50,15 @@
@{ Html.RenderAction("ExistingSeries", "AddSeries"); }
-

\ No newline at end of file + + +@section Scripts +{ + @Html.IncludeScript("NzbDrone/addSeries.js") + + +} \ No newline at end of file