diff --git a/PlexRequests.UI/Content/requests-1.7.js b/PlexRequests.UI/Content/requests-1.7.js index 5438310f1..453c6d7cb 100644 --- a/PlexRequests.UI/Content/requests-1.7.js +++ b/PlexRequests.UI/Content/requests-1.7.js @@ -190,7 +190,7 @@ $('#deleteTVShows').click(function (e) { return; } - loadingButton(buttonId, "success"); + loadingButton(buttonId, "warning"); var url = createBaseUrl(base, '/approval/deletealltvshows'); $.ajax({ type: 'post', diff --git a/PlexRequests.UI/Views/Admin/Status.cshtml b/PlexRequests.UI/Views/Admin/Status.cshtml index eb5f1b743..efea96a0f 100644 --- a/PlexRequests.UI/Views/Admin/Status.cshtml +++ b/PlexRequests.UI/Views/Admin/Status.cshtml @@ -54,10 +54,10 @@ var dots = new Array(count % 10).join('.'); document.getElementById('autoUpdate').innerHTML = "Updating" + dots; }, 1000); - var url = createBaseUrl(base, "autoupdate"); + $.ajax({ type: "Post", - url: url, + url: "autoupdate", data: { url: "@Model.DownloadUri" }, dataType: "json", error: function () {