|
@@ -87,8 +87,13 @@ async function fillPageContents(){
|
|
|
|
|
|
// Con la risposta (stringhificata) delle queries, aggiorna la pagina
|
|
|
function putValuesInHTML(){
|
|
|
- console.log("Stringified Response:", queryStringOutput);
|
|
|
- queryOutput = JSON.parse(queryStringOutput);
|
|
|
+ //Attention! This is a rough patch-up!
|
|
|
+ queryString = queryStringOutput.replaceAll("}}{", "},")
|
|
|
+ console.log("Stringified Response:", queryString);
|
|
|
+ queryOutput = JSON.parse(queryString);
|
|
|
+
|
|
|
+ //console.log("Stringified Response:", queryStringOutput);
|
|
|
+ //queryOutput = JSON.parse(queryStringOutput);
|
|
|
//
|
|
|
// Query buone
|
|
|
if(queryOutput.titolo) document.getElementById("title").innerHTML = queryOutput.titolo.value;
|