mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°8772 - dynamic form
This commit is contained in:
@@ -35,13 +35,9 @@ class OqlFormBlock extends TextAreaFormBlock
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
public function InitOptions(): array
|
||||
public function InitBlockOptions(array &$aUserOptions): void
|
||||
{
|
||||
$aOptions = parent::InitOptions();
|
||||
$aOptions['with_ai_button'] = true;
|
||||
|
||||
return $aOptions;
|
||||
parent::InitBlockOptions($aUserOptions);
|
||||
$aUserOptions['with_ai_button'] = true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user