mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-18 23:49:14 +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)
|
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->sName = $sName;
|
||||||
$this->sPrefix = $sPrefix;
|
$this->sPrefix = $sPrefix;
|
||||||
|
|||||||
Reference in New Issue
Block a user