fixed: selecting some field types will crash Thingy
This commit is contained in:
parent
af7fe6be40
commit
8fce11c813
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue