Commit 39eb6aad authored by Carsten  Rose's avatar Carsten Rose
Browse files

Bug #4771: workaround which switches off updates to SELECT lists, if they are...

Bug #4771: workaround which switches off updates to SELECT lists, if they are part of a Multi-FE-Row.
parent b84e391b
......@@ -562,7 +562,7 @@ abstract class AbstractBuildForm {
$fe[FE_NOTE] = $this->processReportSyntax($fe[FE_NOTE]);
if (isset($fe[FE_FILL_STORE_VAR])) {
$fe[FE_FILL_STORE_VAR]=$this->evaluate->parse($fe[FE_FILL_STORE_VAR]);
$fe[FE_FILL_STORE_VAR] = $this->evaluate->parse($fe[FE_FILL_STORE_VAR]);
$this->store->appendToStore(STORE_VAR, $fe[FE_FILL_STORE_VAR]);
}
......@@ -901,7 +901,10 @@ abstract class AbstractBuildForm {
}
// #3647
if (!$flagRowUpdate) {
// 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) {
$json[API_ELEMENT_UPDATE][$formElement[FE_HTML_ID]][API_ELEMENT_ATTRIBUTE]['value'] = $value;
}
}
......
Supports Markdown
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