X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;fp=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;h=95e477d23589ca949d2fe010020faf428b15040a;hp=f1ae5a093900db90c816d219646ad805d5d413c0;hb=0fac92606553ab4317dd744ef980b15185fb024a;hpb=6e2fe3af63223e29b511e7fe4a68e5884476ad6f diff --git a/libs/cbi/luasrc/view/cbi/lvalue.htm b/libs/cbi/luasrc/view/cbi/lvalue.htm index f1ae5a093..95e477d23 100644 --- a/libs/cbi/luasrc/view/cbi/lvalue.htm +++ b/libs/cbi/luasrc/view/cbi/lvalue.htm @@ -9,7 +9,8 @@ local c = 0; for i, key in pairs(self.keylist) do c = c + 1%> - <%=self.vallist[i]%>"<% if self:cfgvalue(section) == key then %> checked="checked"<% end %> value="<%=key%>" /> + " name="cbid.<%=self.config.."."..section.."."..self.option%>"<% if self:cfgvalue(section) == key then %> checked="checked"<% end %> value="<%=key%>" /> +
<% if c == self.size then c = 0 %>
<% end end %> <% end %>