projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: do not cast to string when using network_netlist widget (#560)
[project/luci.git]
/
libs
/
web
/
luasrc
/
view
/
cbi
/
network_netlist.htm
diff --git
a/libs/web/luasrc/view/cbi/network_netlist.htm
b/libs/web/luasrc/view/cbi/network_netlist.htm
index
8013f2c
..
7e23d14
100644
(file)
--- a/
libs/web/luasrc/view/cbi/network_netlist.htm
+++ b/
libs/web/luasrc/view/cbi/network_netlist.htm
@@
-8,6
+8,8
@@
local networks = nwm:get_networks()
local value = self:formvalue(section)
+ self.cast = nil
+
if not value or value == "-" then
value = self:cfgvalue(section) or self.default
end