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 c6c13a101d65b1360390010b69b39b5b16efbb5f..7a6e6a551b5ce5275828a96f5d7e2c3afcce1cfb 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)