mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
User editable dashboards... implementation in progress
SVN:trunk[2025]
This commit is contained in:
@@ -681,7 +681,13 @@ try
|
||||
}
|
||||
|
||||
$oDashlet->FromParams($aCurrentValues);
|
||||
$oDashlet->Update($aValues, $aUpdatedDecoded);
|
||||
$sPrevClass = get_class($oDashlet);
|
||||
$oDashlet = $oDashlet->Update($aValues, $aUpdatedDecoded);
|
||||
$sNewClass = get_class($oDashlet);
|
||||
if ($sNewClass != $sPrevClass)
|
||||
{
|
||||
$oPage->add_ready_script("$('#dashlet_$sDashletId').dashlet('option', {dashlet_class: '$sNewClass'});");
|
||||
}
|
||||
if ($oDashlet->IsRedrawNeeded())
|
||||
{
|
||||
$offset = $oPage->start_capture();
|
||||
|
||||
Reference in New Issue
Block a user