summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c390a09)
Fix incomplete port status display on vlan setup page when ports in the middle
are not used, e.g. some Lantiq boards use ports 0, 1, 2 and 4 for LAN ports so
JS code should not attempt to reference an undefined status element for port 3.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
{
var th = document.getElementById('portstatus-' + switches[i] + '-' + j);
{
var th = document.getElementById('portstatus-' + switches[i] + '-' + j);
if (ports[j].link)
{
th.innerHTML = String.format(
if (ports[j].link)
{
th.innerHTML = String.format(