mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°3914 Add row highlight colors to Datatables block when an object has a triggered tto/ttr
This commit is contained in:
@@ -319,6 +319,10 @@ class AjaxRenderController
|
||||
foreach ($aObject[$sAlias]->GetLoadedAttributes() as $sAttCode) {
|
||||
$aObj[$sAlias."/".$sAttCode] = $aObject[$sAlias]->GetAsHTML($sAttCode);
|
||||
}
|
||||
$sObjHighlightClass = $aObject[$sAlias]->GetHilightClass();
|
||||
if (!empty($sObjHighlightClass)){
|
||||
$aObj['@class'] = 'ibo-is-'.$sObjHighlightClass;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($sIdName != "") {
|
||||
|
||||
Reference in New Issue
Block a user