mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N.598 Custom fields with autocomplete failing if the subfield depends on another subfield
SVN:trunk[4585]
This commit is contained in:
@@ -63,6 +63,7 @@ class ConsoleSelectObjectFieldRenderer extends FieldRenderer
|
||||
$oSearch->SetModifierProperty('UserRightsGetSelectFilter', 'bSearchMode', true);
|
||||
|
||||
$oSet = new \DBObjectSet($oSearch);
|
||||
$oSet->ApplyParameters();
|
||||
$oSet->OptimizeColumnLoad(array($oSearch->GetClassAlias() => array('friendlyname')));
|
||||
|
||||
$sTargetClass = $oSearch->GetClass();
|
||||
@@ -92,7 +93,10 @@ class ConsoleSelectObjectFieldRenderer extends FieldRenderer
|
||||
$oOutput->AddHtml($oPage->GetHtml());
|
||||
$oOutput->AddJs($oPage->GetJS());
|
||||
$oOutput->AddJs($oPage->GetReadyJS());
|
||||
$oOutput->AddCss($oPage->GetCSS());
|
||||
foreach ($oPage->GetCSS() as $sCss)
|
||||
{
|
||||
$oOutput->AddCss($sCss);
|
||||
}
|
||||
foreach ($oPage->GetJSFiles() as $sFile)
|
||||
{
|
||||
$oOutput->AddJsFile($sFile);
|
||||
|
||||
Reference in New Issue
Block a user