# HG changeset patch # User Sylvain Thénault # Date 1252492061 -7200 # Node ID 37c310ca65066ca8f8def6ec505ab148eb15e4dc # Parent 920079cb4e5b76aaa6446b9a67bde9938b5d085b include facets.css so we're sure it's there when needed diff -r 920079cb4e5b -r 37c310ca6506 web/views/tableview.py --- a/web/views/tableview.py Wed Sep 09 09:56:47 2009 +0200 +++ b/web/views/tableview.py Wed Sep 09 12:27:41 2009 +0200 @@ -51,6 +51,7 @@ """display a form to filter table's content. This should only occurs when a context eid is given """ + self.req.add_css('cubicweb.facets.css') self.req.add_js( ('cubicweb.ajax.js', 'cubicweb.facets.js')) # drop False / None values from vidargs vidargs = dict((k, v) for k, v in vidargs.iteritems() if v) @@ -138,7 +139,6 @@ 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'