summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc/view
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-14 18:57:19 +0000
committerSteven Barth <steven@midlink.org>2008-07-14 18:57:19 +0000
commit4d7c453ea83c749b05d6271a3bdc0c0c057150ed (patch)
tree3f16f0b46a43694101f4054afb4d75f5e34c5d35 /libs/cbi/luasrc/view
parentd12dfa5186f83fdb25ddbadfe2077f40115ce820 (diff)
libs/cbi: Fixed MultiValue select widget
Diffstat (limited to 'libs/cbi/luasrc/view')
-rw-r--r--libs/cbi/luasrc/view/cbi/mvalue.htm2
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 cfe50c4567..a125ccf6e0 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 %>