projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae2243c
)
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 19:15:52 +0000
(20:15 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4670099a20de4700f4c7cb34f67618975b2f3a16
)
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) {