diff --git a/datafari-webapp/src/main/webapp/admin/ajax/js/mcfSimplified.js b/datafari-webapp/src/main/webapp/admin/ajax/js/mcfSimplified.js index fd9607315..dcbaec9a6 100755 --- a/datafari-webapp/src/main/webapp/admin/ajax/js/mcfSimplified.js +++ b/datafari-webapp/src/main/webapp/admin/ajax/js/mcfSimplified.js @@ -309,7 +309,7 @@ function addFilerConnector() { jobStarted = " and started"; } var getUrl = window.location; - var mcfUrl = "/datafari-mcf-crawler-ui/index.jsp?p=showjobstatus.jsp"; + var mcfUrl = getUrl.protocol + "//" + getUrl.hostname + ":9080" + "/datafari-mcf-crawler-ui/index.jsp?p=showjobstatus.jsp"; $("#addFilerMessageSuccess").html( "Job " + data.job_id + " created" + jobStarted + " ! Based on your configuration, it may not crawl immediately.\n Check the status in the Datafari connectors status page"); @@ -367,7 +367,7 @@ function addWebConnector() { jobStarted = " and started"; } var getUrl = window.location; - var mcfUrl = "/datafari-mcf-crawler-ui/index.jsp?p=showjobstatus.jsp"; + var mcfUrl = getUrl.protocol + "//" + getUrl.hostname + ":9080" + "/datafari-mcf-crawler-ui/index.jsp?p=showjobstatus.jsp"; $("#addWebMessageSuccess").html( "Job " + data.job_id + " created" + jobStarted + " ! Based on your configuration, it may not crawl immediately.\n Check the status in the Datafari connectors status page");