fixed: selecting some field types will crash Thingy

This commit is contained in:
Yung Han Khoe 2008-04-06 18:47:56 +00:00
parent af7fe6be40
commit 8fce11c813
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@
- fixed: Thingy: Text, File and Hidden field types listed twice (Yung Han Khoe)
- fixed: Thingy: subtext is not displayed
- fixed: Thingy: edit/add field popup doesn't fit all options
- fixed: selecting some field types will crash Thingy
7.5.9
- fixed: Collaboration System attachments follow site's max size instead of CS's

View file

@ -614,7 +614,7 @@ sub getFormElement {
$param{value} = ($data->{defaultValue} =~ /checked/xi) ? 1 : "";
}
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox))) {
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox Attachments SelectSlider))) {
my @defaultValues;
if ($self->session->form->param($name)) {
@defaultValues = $self->session->form->selectList($name);