fixed: thingy's checkbox field
This commit is contained in:
parent
eea6d818e9
commit
cc76e3b319
2 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
- fixed: unable to purge trash
|
||||
- fixed: EMS not displaying all users with a badge
|
||||
- fixed: WebGUI::Search - joinClass not documented
|
||||
- fixed: thingy's checkbox field
|
||||
|
||||
7.5.18
|
||||
- fixed: Collateral Image Manager broken in Firefox 3
|
||||
|
|
|
|||
|
|
@ -684,7 +684,10 @@ sub getFormElement {
|
|||
$param{fieldType} = $data->{fieldType};
|
||||
|
||||
if ($data->{fieldType} eq "Checkbox") {
|
||||
$param{value} = ($data->{defaultValue} =~ /checked/xi) ? 1 : "";
|
||||
$param{value} = 1;
|
||||
if ($data->{value} == 1){
|
||||
$param{checked} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (WebGUI::Utility::isIn($data->{fieldType},qw(SelectList CheckList SelectBox Attachments SelectSlider))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue