diff options
author | Steven Barth <steven@midlink.org> | 2008-07-14 18:57:19 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-14 18:57:19 +0000 |
commit | 4d7c453ea83c749b05d6271a3bdc0c0c057150ed (patch) | |
tree | 3f16f0b46a43694101f4054afb4d75f5e34c5d35 /libs/cbi | |
parent | d12dfa5186f83fdb25ddbadfe2077f40115ce820 (diff) |
libs/cbi: Fixed MultiValue select widget
Diffstat (limited to 'libs/cbi')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/mvalue.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/view/cbi/mvalue.htm b/libs/cbi/luasrc/view/cbi/mvalue.htm index cfe50c456..a125ccf6e 100644 --- a/libs/cbi/luasrc/view/cbi/mvalue.htm +++ b/libs/cbi/luasrc/view/cbi/mvalue.htm @@ -17,7 +17,7 @@ local v = self:valuelist(section) %> <%+cbi/valueheader%> <% if self.widget == "select" then %> - <select multiple="multiple" name="cbid.<%=self.config.."."..section.."."..self.option%>[]"<% if self.size then %> size="<%=self.size%>"<% end %>> + <select multiple="multiple" name="cbid.<%=self.config.."."..section.."."..self.option%>"<% if self.size then %> size="<%=self.size%>"<% end %>> <%for i, key in pairs(self.keylist) do %> <option<% if luci.util.contains(v, key) then %> selected="selected"<% end %> value="<%=key%>"><%=self.vallist[i]%></option> <% end %> |