web/component.py
changeset 6140 65a619eb31c4
parent 5940 0e3ae19b181a
child 6141 b8287e54b528
--- a/web/component.py	Wed Aug 25 09:43:12 2010 +0200
+++ b/web/component.py	Wed Aug 25 10:01:11 2010 +0200
@@ -197,7 +197,7 @@
             rset = self._cw.execute(self.rql(), {'x': eid})
         if not rset.rowcount:
             return
-        self.w(u'<div class="%s">' % self.div_class())
+        self.w(u'<div class="%s">' % self.cssclass)
         self.w(u'<h4>%s</h4>\n' % self._cw._(self.title).capitalize())
         self.wview(self.vid, rset)
         self.w(u'</div>')