From 89ccd3ce507ea2abad408a9df559aa3bbcc0e377 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 28 Oct 2020 15:21:05 +0000 Subject: Fix DEMO links --- bh20simplewebuploader/static/main.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'bh20simplewebuploader/static') diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js index c0bc23f..6e63ed3 100644 --- a/bh20simplewebuploader/static/main.js +++ b/bh20simplewebuploader/static/main.js @@ -72,9 +72,11 @@ function fetchHTMLTable(apiEndPoint) { for (var i=0; i"+data[i]["label"]+""+data[i]["count"]+"" } -*/ + */ for (var i=0; i"+data[i]["label"]+""+data[i]["count"]+"" + let url = data[i]["key"]; + let label = data[i]["label"]; + htmlString=htmlString+""+label+""+data[i]["count"]+"" } htmlString=htmlString+"" @@ -143,10 +145,6 @@ let fetchMap = () => { updateMapMarkers(); }; -let fetchSEQCountbyLocation = () => { - fetchHTMLTable("/api/getSEQCountbyLocation"); -}; - let fetchSEQByLocation = () => { console.log("Missing - set parameter for request, retrieve data") }; -- cgit v1.2.3