modules/admin-full: Several user interface improvements
[project/luci.git] / libs / cbi / luasrc / view / cbi / value.htm
index 4d473bf..777d480 100644 (file)
@@ -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%>