mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
N°2847 - FieldSet and Fields
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user