projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
875bfd7
)
libs/web: do not cast to string when using network_netlist widget (#560)
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Apr 2013 14:06:26 +0000
(14:06 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Apr 2013 14:06:26 +0000
(14:06 +0000)
libs/web/luasrc/view/cbi/network_netlist.htm
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/view/cbi/network_netlist.htm
b/libs/web/luasrc/view/cbi/network_netlist.htm
index 8013f2cc08850049e2876a0c61fce05647b1d36d..7e23d149a8ff200d17cd9e8a7eb0e8c0d2f502c4 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