projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modules/admin-full: Several user interface improvements
[project/luci.git]
/
libs
/
cbi
/
luasrc
/
view
/
cbi
/
value.htm
diff --git
a/libs/cbi/luasrc/view/cbi/value.htm
b/libs/cbi/luasrc/view/cbi/value.htm
index
4d473bf
..
777d480
100644
(file)
--- 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%>