summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc/view/cbi/fvalue.htm
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cbi/luasrc/view/cbi/fvalue.htm')
-rw-r--r--libs/cbi/luasrc/view/cbi/fvalue.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/view/cbi/fvalue.htm b/libs/cbi/luasrc/view/cbi/fvalue.htm
index b46817c6f7..35ebac6e1c 100644
--- a/libs/cbi/luasrc/view/cbi/fvalue.htm
+++ b/libs/cbi/luasrc/view/cbi/fvalue.htm
@@ -13,5 +13,5 @@ $Id$
-%>
<%+cbi/valueheader%>
- <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self:cfgvalue(section) == self.enabled, "checked", "checked") %> value="1" />
+ <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked") %> value="1" />
<%+cbi/valuefooter%>