All HTMLAreas in the post are controlled by the parent CS settings. Fixes bug #11827.

This commit is contained in:
Colin Kuskie 2010-09-07 14:03:53 -07:00
parent 91acd4c632
commit f333dbbb59
2 changed files with 7 additions and 2 deletions

View file

@ -1679,8 +1679,12 @@ sub www_edit {
});
$var{'userDefined'.$x.'.form.htmlarea'}
= WebGUI::Form::HTMLArea($session, {
name => "userDefined".$x,
value => $userDefinedValue,
name => "userDefined".$x,
value => $userDefinedValue,
richEditId => ($self->isa("WebGUI::Asset::Post::Thread")
? $self->getThread->getParent->get("richEditor")
: $self->getThread->getParent->get("replyRichEditor")
),
});
$var{'userDefined'.$x.'.form.float'}
= WebGUI::Form::Float($session, {