diff --git a/productMods/templates/freemarker/body/harvester/testfile.ftl b/productMods/templates/freemarker/body/harvester/testfile.ftl index 736047d1..d9cfa7bc 100644 --- a/productMods/templates/freemarker/body/harvester/testfile.ftl +++ b/productMods/templates/freemarker/body/harvester/testfile.ftl @@ -24,8 +24,8 @@ } request.open("POST", "${postTo}", true); request.setRequestHeader("content-type","application/x-www-form-urlencoded"); - //request.send("${paramIsHarvestClick}=true&${paramJob}=${job}"); - request.send("${paramIsHarvestClick}=true"); + //request.send("${paramMode}=${modeHarvest}&${paramJob}=${job}"); + request.send("${paramMode}=${modeHarvest}"); } @@ -49,8 +49,8 @@ } request.open("POST", "${postTo}", true); request.setRequestHeader("Content-type","application/x-www-form-urlencoded"); - //request.send("${paramIsHarvestClick}=false&${paramJob}=${job}"); - request.send("${paramIsHarvestClick}=false"); + //request.send("${paramMode}=${modeCheckStatus}&${paramJob}=${job}"); + request.send("${paramMode}=${modeCheckStatus}"); } else { var importedGrants = document.getElementById("importedGrants") @@ -124,6 +124,10 @@ document.getElementById("fileUploadForm").target = "uploadTarget"; document.getElementById("uploadTarget").onload = fileResponse; } + document.getElementById("downloadTemplateForm").onsubmit = function() + { + document.getElementById("downloadTemplateForm").target = "uploadTarget"; + } } window.onload = init; @@ -150,12 +154,15 @@ } - +
We are providing a helpful template file for you to download.
+