summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-08-15 17:57:01 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-15 17:57:06 +0200
commit3ea9c85ed6a12c9175a11626f2bfeb9ae8425f9c (patch)
tree0b2aadd6fe971be407e865a7087f7134dbe1c0a0 /modules/luci-mod-admin-full/luasrc/view
parent8cd6e4efe8351735f93f4c40882ac0cc9c773751 (diff)
luci-mod-admin-full: use switch toplogy information for vlan setup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/view')
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm
index 53c35ae59c..f740a4a863 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm
@@ -15,7 +15,7 @@
for (var j = 0; j < ports.length; j++)
{
- var th = th0.parentNode.parentNode.childNodes[j+1];
+ var th = document.getElementById('portstatus-' + switches[i] + '-' + j);
if (ports[j].link)
{