projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-base: mvalue: fix column wrapping
[project/luci.git]
/
modules
/
luci-base
/
luasrc
/
view
/
cbi
/
mvalue.htm
diff --git
a/modules/luci-base/luasrc/view/cbi/mvalue.htm
b/modules/luci-base/luasrc/view/cbi/mvalue.htm
index
246ef43
..
db17450
100644
(file)
--- a/
modules/luci-base/luasrc/view/cbi/mvalue.htm
+++ b/
modules/luci-base/luasrc/view/cbi/mvalue.htm
@@
-36,7
+36,7
@@
<label<%= attr("for", cbid.."-"..key)%>></label>
<%=pcdata(self.vallist[i])%>
</label>
- <% if
i == self.size
then write('<br />') end %>
+ <% if
self.size and (i % self.size) == 0
then write('<br />') end %>
<% end %>
</div>
<% end %>