Alpha 2.3.0 fixes :

- Multiple request templates on portal
- SelectField interface stabilization
- UI fixes on portal
- Forms updates on lifecycle

SVN:trunk[3970]
This commit is contained in:
Guillaume Lajarige
2016-03-29 12:33:08 +00:00
parent 2ab12d9d11
commit 2a5ca467fd
8 changed files with 73 additions and 7 deletions

View File

@@ -6036,7 +6036,7 @@ class AttributeFriendlyName extends AttributeComputedFieldVoid
return '\\Combodo\\iTop\\Form\\Field\\StringField';
}
public function GetFormField(DBObject $oObject, $oFormField = null)
public function MakeFormField(DBObject $oObject, $oFormField = null)
{
if ($oFormField === null)
{
@@ -6044,7 +6044,7 @@ class AttributeFriendlyName extends AttributeComputedFieldVoid
$oFormField = new $sFormFieldClass($this->GetCode());
}
$oFormField->SetReadOnly(true);
parent::GetFormField($oObject, $oFormField);
parent::MakeFormField($oObject, $oFormField);
return $oFormField;
}