mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
UIBlock: Update PHPDoc, fix typo in $aJsTemplatesRelPath property/methods name and fix $aAdditionalCSSClasses initialization
This commit is contained in:
@@ -143,12 +143,12 @@ class BlockRenderer
|
||||
public function RenderJsInline(string $sType)
|
||||
{
|
||||
$sOutput = '';
|
||||
if(!empty($this->oBlock->GetJsTemplateRelPath($sType)))
|
||||
if(!empty($this->oBlock->GetJsTemplatesRelPath($sType)))
|
||||
{
|
||||
$sOutput = TwigHelper::RenderTemplate(
|
||||
static::$oTwigEnv,
|
||||
$this->GetTemplateParameters(),
|
||||
$this->oBlock->GetJsTemplateRelPath($sType),
|
||||
$this->oBlock->GetJsTemplatesRelPath($sType),
|
||||
$sType
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user