mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
Fix tooltips instantiation for async (XHR) markup
This commit is contained in:
@@ -983,13 +983,6 @@ function DisplayClassDetails($oPage, $sClass, $sContext)
|
||||
|
||||
$oAttributesTable = DataTableUIBlockFactory::MakeForStaticData('', $aConfig, $aDetails, 'ibo-datamodel-viewer--attributes-table', [], "", array('pageLength' => -1));
|
||||
$oPage->AddUiBlock($oAttributesTable);
|
||||
$oPage->add_script(
|
||||
<<<JS
|
||||
$('#ibo-datamodel-viewer--attributes-table').on('init.dt draw.dt', function(){
|
||||
CombodoTooltip.InitAllNonInstantiatedTooltips($('#ibo-datamodel-viewer--attributes-table'), true);
|
||||
});
|
||||
JS
|
||||
);
|
||||
$sOrigins = json_encode(array_keys($aOrigins));
|
||||
|
||||
//color calculation in order to keep 1 color for 1 extended class. Colors are interpolated and will be used for
|
||||
|
||||
Reference in New Issue
Block a user