mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix some id issue caused by the $bEditMode being passed to dashlet rendering
This commit is contained in:
@@ -54,7 +54,8 @@ class DashboardController extends Controller
|
||||
$aValues = $oDashlet->GetDenormalizedProperties();
|
||||
}
|
||||
|
||||
$oDashletBlock = $oDashlet->DoRender($oPage, true /* bEditMode */, false /* bEnclosingDiv */);
|
||||
// TODO 3.3 Removing bEditMode for dashlet rendering fixes id having an "_edit" issues, but is it the right solution ?
|
||||
$oDashletBlock = $oDashlet->DoRender($oPage, false /* bEditMode */, false /* bEnclosingDiv */);
|
||||
|
||||
if ($oDashletBlock instanceof iUIBlock) {
|
||||
// Wrap the dashlet
|
||||
|
||||
Reference in New Issue
Block a user