diff options
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js index 80c8437fc4..c20665adf0 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js @@ -334,6 +334,8 @@ return L.view.extend({ return (value || uci.get('network', section_id, 'vlan')); }; + s.option(form.Value, 'description', _('Description')); + for (var j = 0; Array.isArray(topology.ports) && j < topology.ports.length; j++) { var portspec = topology.ports[j], portstate = Array.isArray(topology.portstate) ? topology.portstate[portspec.num] : null; |