N°2847 - FieldSet and Fields

This commit is contained in:
Eric
2020-09-23 08:55:58 +02:00
parent 33f11d2a43
commit 98d2e42bad
21 changed files with 341 additions and 119 deletions

View File

@@ -45,6 +45,7 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
private $m_aMessages;
private $m_aInitScript = array();
/** @var \TabManager */
protected $m_oTabs;
protected $bBreadCrumbEnabled;
protected $sBreadCrumbEntryId;
@@ -1320,6 +1321,14 @@ EOF;
return null;
}
public function AddUiBlock(iUIBlock $oBlock): iUIBlock
{
if (($this->m_oTabs->GetCurrentTabContainer() != '') && ($this->m_oTabs->GetCurrentTab() != '')) {
return $this->m_oTabs->AddUIBlockToCurrentTab($oBlock);
}
return parent::AddUiBlock($oBlock);
}
/**
* @inheritDoc
*/