libs/cbi: also set id attribute for hidden fields
This commit is contained in:
parent
f4a5a0f653
commit
dfbd41b2dc
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ $Id$
|
|||
if type(self.hidden) == "table" then
|
||||
for k, v in pairs(self.hidden) do
|
||||
-%>
|
||||
<input type="hidden" name="cbid.<%=self.config%>.<%=section%>.<%=k%>" value="<%=luci.util.pcdata(v)%>" />
|
||||
<input type="hidden" id="cbid.<%=self.config%>.<%=section%>.<%=k%>" name="cbid.<%=self.config%>.<%=section%>.<%=k%>" value="<%=luci.util.pcdata(v)%>" />
|
||||
<%-
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue