mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
Pass form values from dashlet
This commit is contained in:
@@ -56,7 +56,7 @@ class DashboardController extends AbstractController
|
||||
|
||||
$oPage = new AjaxPage('');
|
||||
|
||||
$oUIBlock = TurboFormUIBlockFactory::MakeForDashletConfiguration($sDashletClass);
|
||||
$oUIBlock = TurboFormUIBlockFactory::MakeForDashletConfiguration($sDashletClass, $aValues);
|
||||
$oUIBlock->AddSubBlock(ButtonUIBlockFactory::MakeForPrimaryAction('Confirm', 'dashboard_submit', 'dashboard_submit', true));
|
||||
$oUIBlock->AddSubBlock(ButtonUIBlockFactory::MakeForSecondaryAction('Cancel', 'dashboard_cancel'));
|
||||
$oPage->AddUiBlock($oUIBlock);
|
||||
|
||||
Reference in New Issue
Block a user