mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
N°3785 - Use DownloadPage to download documents
This commit is contained in:
@@ -1092,14 +1092,13 @@ EOF
|
||||
* @inheritDoc
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function add($sHtml): ?iUIBlock
|
||||
public function add($sHtml)
|
||||
{
|
||||
if (($this->m_oTabs->GetCurrentTabContainer() != '') && ($this->m_oTabs->GetCurrentTab() != '')) {
|
||||
$this->m_oTabs->AddToCurrentTab($sHtml);
|
||||
} else {
|
||||
return parent::add($sHtml);
|
||||
parent::add($sHtml);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public function AddUiBlock(?iUIBlock $oBlock): ?iUIBlock
|
||||
|
||||
Reference in New Issue
Block a user