mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
N°4319 Backup page datatable no longer grow off limits
This commit is contained in:
@@ -44,10 +44,12 @@ function GenerateBackupsList(string $sListTitleDictKey, string $sNoRecordDictKey
|
|||||||
$oFieldsetForList = new FieldSet(Dict::S($sListTitleDictKey));
|
$oFieldsetForList = new FieldSet(Dict::S($sListTitleDictKey));
|
||||||
|
|
||||||
if (count($aListData) > 0) {
|
if (count($aListData) > 0) {
|
||||||
|
$oTable = DataTableUIBlockFactory::MakeForStaticData('', $aListConfig, array_reverse($aListData), utils::Sanitize(uniqid('form_', true), '', utils::ENUM_SANITIZATION_FILTER_ELEMENT_IDENTIFIER));
|
||||||
|
|
||||||
$oTablePanel = PanelUIBlockFactory::MakeForInformation('');
|
$oTablePanel = PanelUIBlockFactory::MakeForInformation('');
|
||||||
$oTablePanel->AddSubBlock(
|
$oTablePanel->AddSubBlock($oTable);
|
||||||
DataTableUIBlockFactory::MakeForForm(utils::Sanitize(uniqid('form_', true), '', utils::ENUM_SANITIZATION_FILTER_ELEMENT_IDENTIFIER), $aListConfig, array_reverse($aListData))
|
$oTablePanel->AddCSSClass('ibo-datatable-panel');
|
||||||
);
|
|
||||||
$oFieldsetForList->AddSubBlock($oTablePanel);
|
$oFieldsetForList->AddSubBlock($oTablePanel);
|
||||||
} else {
|
} else {
|
||||||
$oFieldsetForList->AddSubBlock(
|
$oFieldsetForList->AddSubBlock(
|
||||||
|
|||||||
Reference in New Issue
Block a user