X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=core%2Fsrc%2Fview%2Fcbi%2Fmvalue.htm;h=bed66e569ab435d16cc2eca62059d19218c3d211;hp=97a1c4295aa7b06506839646eb6e499b764c8420;hb=365d80765d3f08c457b0a373c395c8e1940e44be;hpb=c6c50b3ec60b284107f459e5923c146d515afd2a diff --git a/core/src/view/cbi/mvalue.htm b/core/src/view/cbi/mvalue.htm index 97a1c4295..bed66e569 100644 --- a/core/src/view/cbi/mvalue.htm +++ b/core/src/view/cbi/mvalue.htm @@ -5,14 +5,14 @@ local v = self:valuelist(section) <% if self.widget == "select" then %> <% elseif self.widget == "checkbox" then local c = 0; for i, key in pairs(self.keylist) do c = c + 1%> - <%=self.vallist[i]%>[]"<% if ffluci.util.contains(v, key) then %> checked="checked"<% end %> value="<%=key%>" /> + <%=self.vallist[i]%>[]"<% if luci.util.contains(v, key) then %> checked="checked"<% end %> value="<%=key%>" /> <% if c == self.size then c = 0 %>
<% end end %> <% end %>