mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7445 - Invalid Unicode escape sequence on dashlet Header with statistics
This commit is contained in:
@@ -1155,6 +1155,7 @@ EOF
|
||||
if ($oDashlet->IsFormRedrawNeeded()) {
|
||||
$oForm = $oDashlet->GetForm(); // Rebuild the form since the values/content changed
|
||||
$oForm->SetSubmitParams(utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php', array('operation' => 'update_dashlet_property', 'extra_params' => $aExtraParams));
|
||||
$sHtml = $oForm->RenderAsPropertySheet($oPage, true, '.itop-dashboard');
|
||||
$sHtml= json_encode($sHtml);
|
||||
$oPage->add_script("$('#dashlet_$sDashletId').html({$sHtml});");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user