Set htmleditor instead of textarea

ofaj
jmontoyaa 10 years ago
parent 8465ef5e7a
commit 48dd825326
  1. 2
      main/work/work.lib.php

@ -3343,7 +3343,7 @@ function getWorkCommentForm($work, $page = 'view')
);
$form->addElement('file', 'file', get_lang('Attachment'));
$form->addElement('textarea', 'comment', get_lang('Comment'), array('rows' => '8'));
$form->addHtmlEditor('comment', get_lang('Comment'));
$form->addElement('hidden', 'id', $work['id']);
$form->addElement('hidden', 'page', $page);
if (api_is_allowed_to_edit()) {

Loading…
Cancel
Save