summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index 8d673a877e..88e566519c 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -1572,7 +1572,7 @@ var CBIValue = CBIAbstractValue.extend({
this.keylist.push(String(key));
this.vallist = this.vallist || [];
- this.vallist.push(String(val != null ? val : key));
+ this.vallist.push(L.dom.elem(val) ? val : String(val != null ? val : key));
},
render: function(option_index, section_id, in_table) {