Skip to content
Snippets Groups Projects
Commit 1a25f5d85952 authored by sylvain thenault's avatar sylvain thenault
Browse files

use req.use_fckeditor

parent 4afe4209a596
No related branches found
No related tags found
No related merge requests found
......@@ -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''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment