From: Jo-Philipp Wich Date: Sat, 1 Feb 2014 18:05:20 +0000 (+0000) Subject: luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e9ce8caa8956afef17d01f47eb37e5cecde0a94;p=project%2Fluci2%2Fui.git luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markup --- diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index c6c13a1..7a6e6a5 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -5957,7 +5957,7 @@ function LuCI2() 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)