mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°984 Portal: Dependancies on autocomplete fields now works properly. (Changing value on a parent autcomplete was not resetting value on a dependant autocomplete field)
SVN:trunk[4863]
This commit is contained in:
@@ -4651,6 +4651,10 @@ class AttributeExternalKey extends AttributeDBFieldVoid
|
||||
$oTmpField = $oFormField;
|
||||
$oFormField->SetOnFinalizeCallback(function() use ($oTmpField, $oTmpAttDef, $oObject)
|
||||
{
|
||||
/** @var $oTmpField \Combodo\iTop\Form\Field\Field */
|
||||
/** @var $oTmpAttDef \AttributeDefinition */
|
||||
/** @var $oObject \DBObject */
|
||||
|
||||
// We set search object only if it has not already been set (overrided)
|
||||
if ($oTmpField->GetSearch() === null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user