From c25a744a5c90886771cdc5a793e3018b92cd2be3 Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 26 Aug 2023 13:10:57 +0200 Subject: [PATCH] still testing --- Flask/static/js/main.js | 3 +-- Flask/templates/proxy.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 5790603..5758551 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -56,8 +56,7 @@ function change_config(value) { } -function change_proxy(value, json) { - data = JSON.parse(json); //convertit le dictionnaire data en JSON +function change_proxy(value, data) { if (value == "{{len}}"){ document.getElementById("submit").value = "Create"; document.getElementById("address").value = ""; diff --git a/Flask/templates/proxy.html b/Flask/templates/proxy.html index 9fa69d5..5d0d12d 100644 --- a/Flask/templates/proxy.html +++ b/Flask/templates/proxy.html @@ -53,7 +53,7 @@ - {% for i in data %}