projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1bcb587
)
luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markup
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 1 Feb 2014 18:05:20 +0000
(18:05 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 1 Feb 2014 18:05:20 +0000
(18:05 +0000)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index
c6c13a1
..
7a6e6a5
100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-5957,7
+5957,7
@@
function LuCI2()
formvalue: function(sid)
{
var rv = [ ];
formvalue: function(sid)
{
var rv = [ ];
- var fields = $('#' + this.id(sid) + '
>
input');
+ var fields = $('#' + this.id(sid) + ' input');
for (var i = 0; i < fields.length; i++)
if (typeof(fields[i].value) == 'string' && fields[i].value.length)
for (var i = 0; i < fields.length; i++)
if (typeof(fields[i].value) == 'string' && fields[i].value.length)