N°2847 - UIContentBlock: Rename AddDataAttributes method and fix PHPDoc

This commit is contained in:
Molkobain
2020-11-19 16:37:23 +01:00
parent af11577450
commit c6506c9f13
3 changed files with 8 additions and 9 deletions

View File

@@ -2426,9 +2426,9 @@ JS
$oContentBlock = new UIContentBlock();
$oContentBlock->SetCSSClasses("object-details")
->AddDataAttributes('object-class', $sClass)
->AddDataAttributes('object-id', $iKey)
->AddDataAttributes('object-mode', $sMode);
->AddDataAttribute('object-class', $sClass)
->AddDataAttribute('object-id', $iKey)
->AddDataAttribute('object-mode', $sMode);
$oPage->AddUiBlock($oContentBlock);
if (isset($aExtraParams['wizard_container']) && $aExtraParams['wizard_container']) {