From 808ee9d7f3bb509a6eac553434fc8c3efe7359f0 Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Wed, 29 Jun 2016 20:40:07 +0200 Subject: [PATCH] update channel + txpower --- js/route/nodes.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/js/route/nodes.js b/js/route/nodes.js index 5c79bfd..5bcfbe5 100644 --- a/js/route/nodes.js +++ b/js/route/nodes.js @@ -54,10 +54,10 @@ function routeNodes(){ + '2Ghz' + ''+internal.nodes[key].statistics.clients.wifi24+'' + '' - + '' + + '' + '' + '' - + '' + + '' + '' + 'edit' + ''+sshUrl(key)+'' @@ -66,10 +66,10 @@ function routeNodes(){ + '5Ghz' + ''+ internal.nodes[key].statistics.clients.wifi5+'' + '' - + '' + + '' + '' + '' - + '' + + '' + '' + '' + '' @@ -79,9 +79,10 @@ function routeNodes(){ Object.keys(internal.nodes).map(function(key){ document.getElementById("hostname_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'hostname',null)) - document.getElementById("freq24_ch_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'freq24','channel')) - document.getElementById("freq24_tx_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'freq24','txpower')) - document.getElementById("freq5_ch_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'freq5','channel')) + document.getElementById("freq24_ch_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'wireless','channel2')) + document.getElementById("freq24_tx_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'wireless','txpower2')) + document.getElementById("freq5_ch_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'wireless','channel5')) + document.getElementById("freq5_tx_"+key).addEventListener('keypress', routeNodesPrivEvent(key,'wireless','txpower5')) document.getElementById("edit_"+key).addEventListener('click', function(){ editModel(key) })