N°3536 - revert function and use GetSubBlocks() instead

This commit is contained in:
Eric
2021-03-23 14:26:17 +01:00
parent 1d6ad94694
commit 4534944b08
5 changed files with 10 additions and 25 deletions

View File

@@ -98,7 +98,7 @@ class ConsoleBlockRenderer extends BlockRenderer
$oPage->add_ready_script($oBlockRenderer->RenderJsInline(iUIBlock::ENUM_JS_TYPE_ON_READY));
$oPage->add_style($oBlockRenderer->RenderCssInline());
foreach ($oBlock->GetSubBlocksForCSSAndJS() as $oSubBlock) {
foreach ($oBlock->GetSubBlocks() as $oSubBlock) {
static::AddCssJsTemplatesToPageRecursively($oPage, $oSubBlock, $aContextParams);
}
}