Skip to content

Commit da4b6c9

Browse files
committed
Use htmleditor see BT#11116
1 parent c9cc276 commit da4b6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/work/work.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3658,7 +3658,7 @@ function getWorkCommentForm($work)
36583658
);
36593659

36603660
$form->addElement('file', 'file', get_lang('Attachment'));
3661-
$form->addElement('textarea', 'comment', get_lang('Comment'), array('class' => 'span5', 'rows' => '8'));
3661+
$form->add_html_editor('comment', get_lang('Comment'));
36623662
$form->addElement('hidden', 'id', $work['id']);
36633663
if (api_is_allowed_to_edit()) {
36643664
$form->addElement('checkbox', 'send_mail', null, get_lang('SendMail'));

0 commit comments

Comments
 (0)