feat: Replace placeholder with saveNetworkAndDevices function call

This commit is contained in:
Herbert Wolverson (aider) 2025-01-22 16:00:24 -06:00
parent 11b769da1a
commit 6de3072540

View File

@ -1259,7 +1259,13 @@ function start() {
saveConfig();
});
$("#btnSaveNetDevices").on('click', (data) => {
saveNetAndDevices();
saveNetworkAndDevices(network_json, shaped_devices, (success, message) => {
if (success) {
alert("Network configuration saved successfully!");
} else {
alert("Failed to save network configuration: " + message);
}
});
});
}
$.get("/local-api/getConfig", (data) => {