From 566f505dd1ad0071a7883665417685f14f9fa57e Mon Sep 17 00:00:00 2001 From: Winnie <liang15@mcmaster.ca> Date: Tue, 3 Apr 2018 17:04:47 -0400 Subject: [PATCH] Fix initCluster() --- tomcat/webapps/Trawl/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomcat/webapps/Trawl/script.js b/tomcat/webapps/Trawl/script.js index 89b18e8..fc41de1 100644 --- a/tomcat/webapps/Trawl/script.js +++ b/tomcat/webapps/Trawl/script.js @@ -234,7 +234,7 @@ function reqCluster(params){ // Update the dropdown when response is ready if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) { var nodeList = JSON.parse(this.responseText); - initCluster(nodeList["latitude"], nodeList["longitude"], nodeList["area"]); + initCluster(nodeList["latitude"], nodeList["longitude"], nodeList["n"], nodeList["individualCount"]); } else { console.log("Server Response: Error"); //RME -- GitLab