aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/websocket.js
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/static/js/websocket.js')
-rw-r--r--fg21sim/webui/static/js/websocket.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/fg21sim/webui/static/js/websocket.js b/fg21sim/webui/static/js/websocket.js
index cff66b2..fdca619 100644
--- a/fg21sim/webui/static/js/websocket.js
+++ b/fg21sim/webui/static/js/websocket.js
@@ -178,10 +178,8 @@ $(document).ready(function () {
// Re-check/validate the whole form configurations
$("#conf-recheck").on("click", function () {
- // TODO:
- // * collect all current form configurations
- // * sync to the server and validate
- // * update the form errors
+ var data = getFormConfigAll();
+ setServerConfigs(g_ws, data);
});
// Reset the configurations to the defaults