[facets] reenable facet hiding (was lost in the previous refactoring)
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 Nov 2011 15:06:03 +0100
changeset 8067 3841d8793efb
parent 8066 1d1b3735ac1b
child 8068 72210779ff6d
[facets] reenable facet hiding (was lost in the previous refactoring)
web/data/cubicweb.facets.css
web/facet.py
--- a/web/data/cubicweb.facets.css	Wed Nov 09 14:34:41 2011 +0100
+++ b/web/data/cubicweb.facets.css	Wed Nov 09 15:06:03 2011 +0100
@@ -20,7 +20,7 @@
 div.facetTitle a {
  padding-left: 10px;
  background: transparent url("puce.png") 0% 50% no-repeat;
- }
+}
 
 .opened {
  color: #000 !important;
--- a/web/facet.py	Wed Nov 09 14:34:41 2011 +0100
+++ b/web/facet.py	Wed Nov 09 15:06:03 2011 +0100
@@ -1453,7 +1453,7 @@
           (xml_escape(self.facet.__regid__), title))
         if self.facet._support_and_compat():
             self._render_and_or(w)
-        cssclass = 'vocabularyFacet'
+        cssclass = 'facetBody vocabularyFacet'
         if not self.facet.start_unfolded:
             cssclass += ' hidden'
         overflow = self.overflows