libs/cbi:
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valuefooter.htm
index 0ae45fb..bdcd314 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 
                <% if self.description and #self.description > 0 then -%>
-                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
+                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) or self.orientation == "horizontal" then -%>
                                <br />
                        <%- end %>
                        <div class="cbi-value-description">
@@ -39,7 +39,7 @@ $Id$
                <%-
                        end
                -%>
-                       }, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
+                       }, "cbip-<%=self.config.."-"..section.."-"..self.option..d.add%>");
                <%- end %>
        </script>
 <%- end %>