N°3785 - Use DownloadPage to download documents

This commit is contained in:
Eric
2021-03-04 16:37:15 +01:00
parent 226c301d92
commit 622b486d1f
10 changed files with 42 additions and 97 deletions

View File

@@ -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