author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 19 Oct 2010 13:17:10 +0200 | |
changeset 6547 | 6be127941760 |
parent 6546 | 31586c7b63f6 |
child 6548 | fd36c1049eed |
web/component.py | file | annotate | diff | comparison | revisions |
--- a/web/component.py Tue Oct 19 13:16:20 2010 +0200 +++ b/web/component.py Tue Oct 19 13:17:10 2010 +0200 @@ -411,8 +411,8 @@ subclasses should define at least id, rtype and target class attributes. """ def render_title(self, w): - return display_name(self._cw, self.rtype, role(self), - context=self.entity.__regid__) + w(display_name(self._cw, self.rtype, role(self), + context=self.entity.__regid__)) def render_body(self, w): self._cw.add_js('cubicweb.ajax.js')