mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Merge remote-tracking branch 'origin/support/3.0' into develop
This commit is contained in:
@@ -493,7 +493,7 @@ class SearchForm
|
||||
$aAllowedValues = array();
|
||||
while ($oObject = $oSet->Fetch())
|
||||
{
|
||||
$aAllowedValues[] = ["value"=>$oObject->GetKey(), "label" => $oObject->GetName()];
|
||||
$aAllowedValues[$oObject->GetKey()] = $oObject->GetName();
|
||||
}
|
||||
return array('values' => $aAllowedValues);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,10 @@ class ButtonGroup extends UIBlock
|
||||
public const BLOCK_CODE = 'ibo-button-group';
|
||||
/** @inheritDoc */
|
||||
public const DEFAULT_HTML_TEMPLATE_REL_PATH = 'base/components/button-group/layout';
|
||||
public const DEFAULT_JS_FILES_REL_PATH = [
|
||||
'js/components/button-group.js',
|
||||
];
|
||||
public const REQUIRES_ANCESTORS_DEFAULT_JS_FILES = true;
|
||||
|
||||
/** @var \Combodo\iTop\Application\UI\Base\Component\Button\Button[] Buttons to be displayed as a group */
|
||||
protected $aButtons;
|
||||
|
||||
Reference in New Issue
Block a user