From 615aca3d2a339cd4b420dcf38113a6e964c0693b Mon Sep 17 00:00:00 2001 From: Thomas Nizan Date: Fri, 4 Nov 2022 10:53:04 -0700 Subject: [PATCH] zuboard-1cg: sources: webpages: fix form issue When initiating a new 'Get' request after a 'POST' one, the 'Form' parameters are not reset, so we do it manually. --- ZUBoard-1CG/sources/webpages/js/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ZUBoard-1CG/sources/webpages/js/main.js b/ZUBoard-1CG/sources/webpages/js/main.js index 3b02028..5bdc57e 100644 --- a/ZUBoard-1CG/sources/webpages/js/main.js +++ b/ZUBoard-1CG/sources/webpages/js/main.js @@ -43,6 +43,9 @@ var webserver = { }, factest_button_clicked: function(e) { + + YAHOO.util.Connect.resetFormState(); + /* make a XMLHTTP request */ YAHOO.util.Connect.asyncRequest('Get', '/factest_results.html', webserver.factest_button_callback); },