diff --git a/src/Jackett.Common/Content/custom.js b/src/Jackett.Common/Content/custom.js index c823b55b0..03ca2e4a0 100644 --- a/src/Jackett.Common/Content/custom.js +++ b/src/Jackett.Common/Content/custom.js @@ -249,11 +249,11 @@ function displayUnconfiguredIndexersList() { }).fail(function (data) { if(data.responseJSON.error !== undefined) { var indexEnd = 2048 - "https://github.com/Jackett/Jackett/issues/new?title=[".length - indexerId.length - "] ".length - " (Config)".length; // keep url <= 2k #5104 - var githubrepo = "Jackett/Jackett" - var githubtext = "this indexer" + var githubrepo = "Jackett/Jackett"; + var githubtext = "this indexer"; if (data.responseJSON.error.includes("check FlareSolverr logs") || data.responseJSON.error.includes("cookies provided by FlareSolverr are not valid")) { - githubrepo = "FlareSolverr/FlareSolverr" - githubtext = "FlareSolverr" + githubrepo = "FlareSolverr/FlareSolverr"; + githubtext = "FlareSolverr"; } doNotify("An error occurred while configuring this indexer
" + data.responseJSON.error.substring(0, indexEnd) + "
Click here to open an issue on GitHub for " + githubtext + ".", "danger", "glyphicon glyphicon-alert", false); } else { @@ -480,11 +480,11 @@ function testIndexer(id, notifyResult) { updateTestState(id, "error", data.error, indexers); if(data.responseJSON.error !== undefined && notifyResult) { var indexEnd = 2048 - "https://github.com/Jackett/Jackett/issues/new?title=[".length - id.length - "] ".length - " (Test)".length; // keep url <= 2k #5104 - var githubrepo = "Jackett/Jackett" - var githubtext = "this indexer" - if (data.responseJSON.error.includes("check FlareSolverr logs")) { - githubrepo = "FlareSolverr/FlareSolverr" - githubtext = "FlareSolverr" + var githubrepo = "Jackett/Jackett"; + var githubtext = "this indexer"; + if (data.responseJSON.error.includes("check FlareSolverr logs") || data.responseJSON.error.includes("cookies provided by FlareSolverr are not valid")) { + githubrepo = "FlareSolverr/FlareSolverr"; + githubtext = "FlareSolverr"; } doNotify("An error occurred while testing this indexer
" + data.responseJSON.error.substring(0, indexEnd) + "
Click here to open an issue on GitHub for " + githubtext + ".", "danger", "glyphicon glyphicon-alert", false); } else { diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index 4ea74943d..49b0cc84e 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -693,6 +693,6 @@ - +