From 7e9ce8caa8956afef17d01f47eb37e5cecde0a94 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 1 Feb 2014 18:05:20 +0000 Subject: [PATCH] luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markup --- luci2/htdocs/luci2/luci2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2