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:
875a96f
)
luci-base: fix cbi mvalue templates
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 19:13:02 +0000
(21:13 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 19:13:02 +0000
(21:13 +0200)
Fixes:
9c7eb1dec
("luci-base: switch from server side to client side widget markup")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/mvalue.htm
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/cbi/mvalue.htm
b/modules/luci-base/luasrc/view/cbi/mvalue.htm
index 4974a4ed288cda33d3127e79a887565614861cf3..d1fb8036783a5f41ce06785676ff4fde5a554d5d 100644
(file)
--- a/
modules/luci-base/luasrc/view/cbi/mvalue.htm
+++ b/
modules/luci-base/luasrc/view/cbi/mvalue.htm
@@
-1,6
+1,6
@@
<%+cbi/valueheader%>
<div<%=attr("data-ui-widget", luci.util.serialize_json({
- "Select", self:cfgvalue
s(section)
, self:choices(), {
+ "Select", self:cfgvalue
(section) or self.default
, self:choices(), {
id = cbid,
name = cbid,
size = self.size,