Skip to content

Commit

Permalink
fixed possible values and default values on EMS submission.
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Jan 4, 2012
1 parent c22bc0c commit ba68ae8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
Expand Up @@ -9,6 +9,7 @@
- fixed #12303: Survey custom multiple choice question types
- fixed #12304: Surven packages do not include custom question types
- fixed #12309: Some child assets ignore visitor cache timeouts
- fixed possible values and default values on EMS submission.

7.10.23
- fixed #12225: Stock asset, multiple instances on a page
Expand Down
2 changes: 2 additions & 0 deletions lib/WebGUI/Asset/EMSSubmission.pm
Expand Up @@ -434,6 +434,8 @@ sub www_editSubmission {
$fields->{$fieldId}{fieldType} = $metaField->{dataType};
$fields->{$fieldId}{name} = $fieldId;
$fields->{$fieldId}{value} = $self->get($fieldId) if $self;
$fields->{$fieldId}{options} = $metaField->{possibleValues};
$fields->{$fieldId}{defaultValue} = $metaField->{defaultValues};
}
}

Expand Down

0 comments on commit ba68ae8

Please sign in to comment.