Commit 61a9cf35 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Bug: 'element-update' for type 'UPLOAD seems to make trouble. Exclude it like 'SELECT'

parent bd9e62b0
......@@ -904,7 +904,7 @@ abstract class AbstractBuildForm {
// if (!$flagRowUpdate) {
// #4771 - temporary workaround: SELECT in 'multi FE row' won't updated after 'save' or with dynamic update.
if ($formElement[FE_TYPE] != FE_TYPE_SELECT) {
if ($formElement[FE_TYPE] != FE_TYPE_SELECT && $formElement[FE_TYPE] != FE_TYPE_UPLOAD) {
$json[API_ELEMENT_UPDATE][$formElement[FE_HTML_ID]][API_ELEMENT_ATTRIBUTE]['value'] = $value;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment