Commit 2a961e1b authored by Jon Phillips's avatar Jon Phillips
Browse files

added fixes to make finallink creation work on subdirectories

parent dcfe59fc
...@@ -1252,7 +1252,8 @@ function testApplyPage () ...@@ -1252,7 +1252,8 @@ function testApplyPage ()
var finalLink = "http://" + window.location.host + "/?" + var finalLink = document.URL.substr(0,document.URL.lastIndexOf('/')) +
"/?" +
finalQueryString; finalQueryString;
// console.log("finalLink: " + finalLink); // console.log("finalLink: " + finalLink);
...@@ -1329,7 +1330,7 @@ function testApplyPage () ...@@ -1329,7 +1330,7 @@ function testApplyPage ()
else else
tmpFinalLink = shortUrl; tmpFinalLink = shortUrl;
$(".final-link").attr("href", '?' + finalLink ); $(".final-link").attr("href", finalLink );
var finalBrew = var finalBrew =
"<section><h4>Recreate this Contributor License Agreement</h4>\n" + "<section><h4>Recreate this Contributor License Agreement</h4>\n" +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment