Rename "refresh action" param of datatables to match conventions

This commit is contained in:
Molkobain
2021-12-10 14:55:51 +01:00
parent b91dee6c0c
commit 0ed2388cf8
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
{
if (!isset($aExtraParams['menu']) || $aExtraParams['menu']) {
$oMenuBlock = new MenuBlock($oSet->GetFilter(), $sStyle);
$aExtraParams['sRefreshAction'] = $oDataTable->GetJSRefresh();
$aExtraParams['refresh_action'] = $oDataTable->GetJSRefresh();
$oBlockMenu = $oMenuBlock->GetRenderContent($oPage, $aExtraParams, $sListId);
} else {
$bToolkitMenu = true;