summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-02-24 17:40:53 +0100
committerJo-Philipp Wich <jow@openwrt.org>2016-02-24 17:40:53 +0100
commit55597da3a8540d19b34bf25ccf08d70e759013ab (patch)
treea166f8ee0a4304c0cba12cbc3e59e63341835946 /modules/luci-base
parente78759ad5aa2418e7a39e1061d430c2e5e8fe0b8 (diff)
luci-base: cbi: fix misplaced ID in nullsection template
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/luasrc/view/cbi/nullsection.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/nullsection.htm b/modules/luci-base/luasrc/view/cbi/nullsection.htm
index bd4895095..ef169593a 100644
--- a/modules/luci-base/luasrc/view/cbi/nullsection.htm
+++ b/modules/luci-base/luasrc/view/cbi/nullsection.htm
@@ -5,8 +5,8 @@
<% if self.description and #self.description > 0 then -%>
<div class="cbi-section-descr"><%=self.description%></div>
<%- end %>
- <div class="cbi-section-node" id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
- <div>
+ <div class="cbi-section-node">
+ <div id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
<% self:render_children(1, scope or {}) %>
</div>
<% if self.error and self.error[1] then -%>