diff --git a/src/main/webapp/html/farmrepository/view_farm_repository.jsp b/src/main/webapp/html/farmrepository/view_farm_repository.jsp index dddf208..4acba56 100644 --- a/src/main/webapp/html/farmrepository/view_farm_repository.jsp +++ b/src/main/webapp/html/farmrepository/view_farm_repository.jsp @@ -30,7 +30,7 @@ function closeAndReload() { } $(function () { - checkBatchesThreshold = function (theButton, endpoint, farmId, batchType) { + checkBatchesThreshold = function (theButton, endpoint, farmId, batchType, farmIdEncoded, batchTypeEncoded) { $(theButton).html(' checking batches, please wait ...'); $.ajax({ url : endpoint, @@ -45,7 +45,7 @@ $(function () { success : function(data) { var content = JSON.parse(data); if (content.success == "OK") { - location.href='${AnalyticalToolkitPortletEndpoint}?${batchTypeParamEncoded}=${batchTypeEncoded}&${farmIdParamEncoded}=${farmIdEncoded}'; + location.href='${AnalyticalToolkitPortletEndpoint}?${batchTypeParamEncoded}='+batchTypeEncoded+'&${farmIdParamEncoded}='+farmIdEncoded; } else { $(theButton).html('' + content.message); @@ -176,13 +176,10 @@ $(function () {
-
- <%-- --%> - +