From 917ae0f999751934f438e8474398b354cf543274 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 29 Feb 2012 18:53:27 -0800 Subject: [PATCH] Fixed issue with loading update page when there is no update available. --- NzbDrone.Web/Views/Update/Index.cshtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Web/Views/Update/Index.cshtml b/NzbDrone.Web/Views/Update/Index.cshtml index 6c06fe61a..b5583b20a 100644 --- a/NzbDrone.Web/Views/Update/Index.cshtml +++ b/NzbDrone.Web/Views/Update/Index.cshtml @@ -11,6 +11,7 @@ else

Available Update: @Model.UpdatePackage.Version @Ajax.ActionLink("Update", "StartUpdate", "Update", new AjaxOptions{ OnSuccess = "updateStarted" }) + @Html.HiddenFor(m => m.UpdatePackage.Version)

} @if (Model.LogFiles.Count != 0) @@ -32,6 +33,7 @@ else {