add facets.css when form filter is there stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 18 Jun 2009 09:38:32 +0200
branchstable
changeset 2115 c48ff1d0acc4
parent 2114 862f27d94af4
child 2116 344ca533ee9d
child 2145 529867c301fc
add facets.css when form filter is there
web/views/tableview.py
--- a/web/views/tableview.py	Wed Jun 17 20:46:37 2009 +0200
+++ b/web/views/tableview.py	Thu Jun 18 09:38:32 2009 +0200
@@ -140,6 +140,7 @@
                 actions += self.form_filter(divid, displaycols, displayfilter,
                                             displayactions)
         elif displayfilter:
+            req.add_css('cubicweb.facets.css')
             actions += self.show_hide_actions(divid, True)
         self.w(u'<div id="%s"' % divid)
         if displayactions: