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

@ -10,6 +10,7 @@
- fixed: Attachment label in the Template is missing - fixed: Attachment label in the Template is missing
- fixed #11810: Attachment list broken in template - fixed #11810: Attachment list broken in template
- fixed #11814: upgrade script removes cache too aggresively (Ernesto Hernández-Novich) - fixed #11814: upgrade script removes cache too aggresively (Ernesto Hernández-Novich)
- fixed #11827: CS rich edit bug
7.9.13 7.9.13
- fixed #11783: Instances deleted during realtime run - fixed #11783: Instances deleted during realtime run

View file

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