diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-11 15:45:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-11 15:45:34 +0000 |
commit | dfbd41b2dcc7923c096a85b697f65f09ebe88717 (patch) | |
tree | 3a04fae38f7136656b54536531ba0b9520fdac77 | |
parent | f4a5a0f653813900894748ee87380d5894d8f435 (diff) |
libs/cbi: also set id attribute for hidden fields
-rw-r--r-- | libs/cbi/luasrc/view/cbi/ucisection.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 54115f624..7e8467cfc 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -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 |