summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-11 12:44:34 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-11 12:44:34 +0200
commit34e73fd983a49e38155a39c2392779cbd6abb67f (patch)
tree34b076428c7434083a638c79ad751b1f67f57b31 /modules/luci-base/htdocs
parentc96de7204366fa7d3d7318d7b42f2bd3b34ac0ca (diff)
luci-base: widgets.js: fix display quirk in tools.widgets.DeviceSelect
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/tools/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
index 861d8c8cea..1667fa6707 100644
--- a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
+++ b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
@@ -478,7 +478,7 @@ var CBIDeviceSelect = form.ListValue.extend({
var networks = device.getNetworks();
if (networks.length > 0)
- L.dom.append(item.lastChild, [ ' (', networks.join(', '), ')' ]);
+ L.dom.append(item.lastChild, [ ' (', networks.map(function(n) { return n.getName() }).join(', '), ')' ]);
if (checked[name])
values.push(name);