mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-05 17:18:44 +02:00
N°2847 - Fix ajax tabs
This commit is contained in:
@@ -71,7 +71,11 @@ class TabContainer extends UIContentBlock
|
||||
*/
|
||||
public function __construct($sName, $sPrefix)
|
||||
{
|
||||
parent::__construct("{$sName}".((!empty($sPrefix)) ? "-{$sPrefix}" : ""));
|
||||
$sId = null;
|
||||
if (!empty($sName) || !empty($sPrefix)) {
|
||||
$sId = "{$sName}".((!empty($sPrefix)) ? "-{$sPrefix}" : "");
|
||||
}
|
||||
parent::__construct($sId);
|
||||
|
||||
$this->sName = $sName;
|
||||
$this->sPrefix = $sPrefix;
|
||||
|
||||
Reference in New Issue
Block a user