N°1522 - Dashlet group by on stopwatch

SVN:trunk[5904]
This commit is contained in:
Eric Espié
2018-06-25 09:59:36 +00:00
parent a848cb28f1
commit 21a5a2d4ef
2 changed files with 15 additions and 9 deletions

View File

@@ -256,9 +256,11 @@ abstract class Dashboard
{
$sDashletClass = $aDashletParams['dashlet_class'];
$sId = $aDashletParams['dashlet_id'];
$sType = $aDashletParams['dashlet_type'];
$oNewDashlet = new $sDashletClass($this->oMetaModel, $sId);
$oNewDashlet->SetDashletType($sType);
if (isset($aDashletParams['dashlet_type']))
{
$oNewDashlet->SetDashletType($aDashletParams['dashlet_type']);
}
$oForm = $oNewDashlet->GetForm();
$oForm->SetParamsContainer($sId);
$oForm->SetPrefix('');