Skip to content

Commit

Permalink
Set htmleditor instead of textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Apr 26, 2016
1 parent 8465ef5 commit 48dd825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/work/work.lib.php
Expand Up @@ -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()) {
Expand Down

0 comments on commit 48dd825

Please sign in to comment.