diff --git a/code/html/custom.js b/code/html/custom.js index 5ca9558b..de0c5af7 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -532,11 +532,11 @@ function doReconnect(ask) { function doUpdate() { - var form = $("#formSave"); - if (validateForm(form)) { + var forms = $(".form-settings"); + if (validateForm(forms)) { // Get data - sendConfig(getData(form)); + sendConfig(getData(forms)); // Empty special fields $(".pwrExpected").val(0); diff --git a/code/html/index.html b/code/html/index.html index b1053014..2ccf660a 100644 --- a/code/html/index.html +++ b/code/html/index.html @@ -28,7 +28,7 @@