luci2: Fix LuCI2.cbi.AbstractValue.formvalue() for deeply nested widget markup
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 1 Feb 2014 18:05:20 +0000 (18:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 1 Feb 2014 18:05:20 +0000 (18:05 +0000)
luci2/htdocs/luci2/luci2.js

index c6c13a1..7a6e6a5 100644 (file)
@@ -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)