# HG changeset patch # User Florent Cayré # Date 1398980156 -7200 # Node ID 25fc84990ddc082cd919a02a31da4e8ee8f1cda8 # Parent da09975300aa8087a65a9b6430b4a9474e26239b [facet html] Add surrounding div with "facetBody" class to "has_text" facet. This makes its html structure consistent with the other facets and fixes both css and a javascript behaviour (hide the facet body when clicking on its title). Closes #3797501. diff -r da09975300aa -r 25fc84990ddc web/facet.py --- a/web/facet.py Fri Jun 13 11:00:41 2014 +0200 +++ b/web/facet.py Thu May 01 23:35:56 2014 +0200 @@ -1515,9 +1515,11 @@ cssclass += ' hideFacetBody' w(u'
%s
\n' % (cssclass, xml_escape(self.facet.__regid__), title)) + w(u'
\n') w(u'\n' % ( xml_escape(self.facet.__regid__), self.value or u'')) w(u'
\n') + w(u'\n') class FacetRangeWidget(htmlwidgets.HTMLWidget):