Skip to content

Commit

Permalink
Fix link in MCF simplified UI
Browse files Browse the repository at this point in the history
  • Loading branch information
otavard committed Jan 6, 2020
1 parent ce7d99e commit a88b74e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
"<i class='fa fa-check'></i>Job " + data.job_id + " created" + jobStarted
+ " ! Based on your configuration, it may not crawl immediately.\n Check the status in the <a target='_blank' href='" + mcfUrl + "'>Datafari connectors status page</a>");
Expand Down Expand Up @@ -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(
"<i class='fa fa-check'></i>Job " + data.job_id + " created" + jobStarted
+ " ! Based on your configuration, it may not crawl immediately.\n Check the status in the <a target='_blank' href='" + mcfUrl + "'>Datafari connectors status page</a>");
Expand Down

0 comments on commit a88b74e

Please sign in to comment.