From 624b32d926598abf7fad2a854f64928310a9c179 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Fri, 28 Oct 2016 09:12:55 +0100 Subject: [PATCH] Fixed #586 --- PlexRequests.UI/Helpers/BaseUrlHelper.cs | 5 +++-- PlexRequests.UI/Views/Admin/LandingPage.cshtml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PlexRequests.UI/Helpers/BaseUrlHelper.cs b/PlexRequests.UI/Helpers/BaseUrlHelper.cs index 21dfca2d4..d7b4577cb 100644 --- a/PlexRequests.UI/Helpers/BaseUrlHelper.cs +++ b/PlexRequests.UI/Helpers/BaseUrlHelper.cs @@ -118,10 +118,11 @@ namespace PlexRequests.UI.Helpers public static IHtmlString LoadDateTimePickerAsset(this HtmlHelpers helper) { - var content = GetBaseUrl(); + var assetLocation = GetBaseUrl(); - var sb = new StringBuilder(); + var content = GetContentUrl(assetLocation); var startUrl = $"{content}/Content"; + var sb = new StringBuilder(); sb.AppendLine($""); sb.AppendLine($""); diff --git a/PlexRequests.UI/Views/Admin/LandingPage.cshtml b/PlexRequests.UI/Views/Admin/LandingPage.cshtml index b864223c7..9861ab792 100644 --- a/PlexRequests.UI/Views/Admin/LandingPage.cshtml +++ b/PlexRequests.UI/Views/Admin/LandingPage.cshtml @@ -133,7 +133,7 @@ } var $form = $("#mainForm"); - + var data = $form.serialize(); data = data + "¬iceStart=" + start + "¬iceEnd=" + end;