diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-19 15:56:59 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-19 16:15:22 +0100 |
commit | 4670099a20de4700f4c7cb34f67618975b2f3a16 (patch) | |
tree | 9739fffde8eddb43d6987c72e516eb2caba7a23c | |
parent | cc123a03ce738dffae9abf5aefad9b75020a0a04 (diff) |
luci-base: form.js: don't stringify node arguments in CBIValue.value()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
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) { |