projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc123a0
)
luci-base: form.js: don't stringify node arguments in CBIValue.value()
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 19 Jan 2020 14:56:59 +0000
(15:56 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Sun, 19 Jan 2020 15:15:22 +0000
(16:15 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 8d673a877e4b247a2c481941f1ed6f38975be296..88e566519c06de469e0809971b8fa5afddf3e03f 100644
(file)
--- 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) {