git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c96de72
)
luci-base: widgets.js: fix display quirk in tools.widgets.DeviceSelect
author
Jo-Philipp Wich
<redacted>
Wed, 11 Sep 2019 10:44:34 +0000
(12:44 +0200)
committer
Jo-Philipp Wich
<redacted>
Wed, 11 Sep 2019 10:44:34 +0000
(12:44 +0200)
Signed-off-by: Jo-Philipp Wich <redacted>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
patch
|
blob
|
history
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 861d8c8cea51461d30e515c0cc1ac7f336f95158..1667fa670726d5f95719c385840320f6e85ef4e3 100644
(file)
--- 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);
git clone https://git.99rst.org/PROJECT