summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-06 10:41:47 +0000
committerSteven Barth <steven@midlink.org>2008-08-06 10:41:47 +0000
commit206bf7f253b8e136d0d5f375bd9b5c352462c1e6 (patch)
treefcbc965168292e29718c114402db6e329ba5769f /libs/cbi/luasrc
parente194d33c532b353cdc3602897fde7312d6e27af7 (diff)
modules/admin-full: Several user interface improvements
Diffstat (limited to 'libs/cbi/luasrc')
-rw-r--r--libs/cbi/luasrc/view/cbi/value.htm4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/view/cbi/value.htm b/libs/cbi/luasrc/view/cbi/value.htm
index 4d473bf5e6..777d480937 100644
--- a/libs/cbi/luasrc/view/cbi/value.htm
+++ b/libs/cbi/luasrc/view/cbi/value.htm
@@ -24,7 +24,9 @@ $Id$
<%-
end
-%>
- }, '<%:cbi_select%>', '<%:cbi_manual%>');
+ }, '<%- if not self.rmempty and not self.optional then -%>
+ <%-:cbi_select-%>
+ <%- end -%>', '<%:cbi_manual%>');
</script>
<% end -%>
<%+cbi/valuefooter%>