mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°2847 - UIContentBlock: Rename AddDataAttributes method and fix PHPDoc
This commit is contained in:
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user