diff --git a/views.py b/views.py index 4afe4209a596d0e0cfd24ce4b342da82fa3ffbba_dmlld3MucHk=..1a25f5d85952f223a7fecdba65ce7b352b0cef3e_dmlld3MucHk= 100644 --- a/views.py +++ b/views.py @@ -240,9 +240,7 @@ if action is not None: url = ajax_replace_url('comment%sHolder' % eid, rql_for_eid(eid), 'inlinecomment') reply = u' (<a href="%s">%s</a>)' % (url, req._(action.title)) - if req.property_value('ui.fckeditor') and \ - req.property_value('ui.default-text-format') == 'text/html': - req.add_js('fckeditor.js') + if req.use_fckeditor() and req.property_value('ui.default-text-format') == 'text/html': req.fckeditor_config() else: reply = u''