fixing another constraint

This commit is contained in:
JT Smith 2009-10-20 16:03:59 -05:00
parent acf8e7816d
commit 682b7204f0
2 changed files with 4 additions and 4 deletions

View file

@ -75,7 +75,7 @@ sub _createForm {
elsif ( $class->isa('WebGUI::Form::List') ) {
delete $param{size};
}
elsif ( $type eq 'HTMLArea' && $data->{htmlAreaRichEditor} ne '**Use_Default_Editor**') {
elsif ( $type eq 'HTMLArea' && $data->{htmlAreaRichEditor} ne '') {
$param{richEditId} = $data->{htmlAreaRichEditor} ;
}
return $class->new($session, \%param);
@ -307,7 +307,6 @@ sub definition {
# populate hash of Rich Editors and add an entry to the list to use the default
my $selectRichEditor = WebGUI::Form::SelectRichEditor->new($session,{}) ;
my $richEditorOptions = $selectRichEditor->getOptions() ;
$richEditorOptions->{'**Use_Default_Editor**'} = $i18n->get("Use Default Rich Editor");
tie %properties, 'Tie::IxHash';
%properties = (