diff -r 0de202b907d6 -r 948a3882c94a entities/__init__.py --- a/entities/__init__.py Wed Mar 04 19:04:19 2009 +0100 +++ b/entities/__init__.py Wed Mar 04 19:04:44 2009 +0100 @@ -415,11 +415,10 @@ """return True if fckeditor should be used to edit entity's attribute named `attr`, according to user preferences """ - req = self.req - if self.config.fckeditor_installed() and req.property_value('ui.fckeditor') and self.has_format(attr): + if self.req.use_fckeditor() and self.has_format(attr): if self.has_eid() or '%s_format' % attr in self: return self.format(attr) == 'text/html' - return req.property_value('ui.default-text-format') == 'text/html' + return self.req.property_value('ui.default-text-format') == 'text/html' return False # XXX: store a reference to the AnyEntity class since it is hijacked in goa