mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fixup - a couple of null errors.
This commit is contained in:
parent
4b237b5b58
commit
3531d0c860
@ -139,10 +139,13 @@ function shapedDevices() {
|
||||
|
||||
function start() {
|
||||
// Load shaped devices data
|
||||
$.get("/local-api/networkJson", (njs) => {
|
||||
network_json = njs;
|
||||
$.get("/local-api/allShapedDevices", (data) => {
|
||||
shaped_devices = data;
|
||||
shapedDevices();
|
||||
});
|
||||
});
|
||||
|
||||
// Setup button handlers
|
||||
$("#btnNewDevice").on('click', newSdRow);
|
||||
|
@ -232,6 +232,12 @@ function renameNode(nodeId) {
|
||||
}
|
||||
|
||||
function start() {
|
||||
// Add links
|
||||
window.promoteNode = promoteNode;
|
||||
window.renameNode = renameNode;
|
||||
window.deleteNode = deleteNode;
|
||||
window.nodeSpeedChange = nodeSpeedChange;
|
||||
|
||||
// Add save button handler
|
||||
$("#btnSaveNetwork").on('click', () => {
|
||||
alert("Save functionality coming soon!");
|
||||
|
Loading…
Reference in New Issue
Block a user