mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
feat: Replace placeholder with saveNetworkAndDevices function call
This commit is contained in:
parent
11b769da1a
commit
6de3072540
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user