Fix option dependencies, this was lost in some IE fixing stuff
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valuefooter.htm
index a959644..9fc5c13 100644 (file)
@@ -13,7 +13,7 @@ $Id$
 
 -%>
 
-               <% if #self.description > 0 then -%>
+               <% if self.description and #self.description > 0 then -%>
                        <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
                                <br />
                        <%- end %>
@@ -39,7 +39,7 @@ $Id$
                <%-
                        end
                -%>
-                       }, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
+                       }, "cbip-<%=self.config.."-"..section.."-"..self.option..d.add%>");
                <%- end %>
        </script>
-<%- end %>
\ No newline at end of file
+<%- end %>