From a771d35197e9f4aa073c17c7b28e89613abeaad8 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 21 Sep 2021 09:51:25 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03685=20-=20Fix=20missing=20C3=20lib=20in?= =?UTF-8?q?=20a=20dashboard=20menu=20node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/menunode.class.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/menunode.class.inc.php b/application/menunode.class.inc.php index 299221404..b38e44c3f 100644 --- a/application/menunode.class.inc.php +++ b/application/menunode.class.inc.php @@ -4,6 +4,7 @@ * @license http://opensource.org/licenses/AGPL-3.0 */ +use Combodo\iTop\Application\Helper\WebResourcesHelper; use Combodo\iTop\Application\UI\Base\Component\Title\TitleUIBlockFactory; require_once(APPROOT.'/application/utils.inc.php'); @@ -1414,6 +1415,8 @@ class DashboardMenuNode extends MenuNode $oDashboard = $this->GetDashboard(); if ($oDashboard != null) { + WebResourcesHelper::EnableC3JSToWebPage($oPage); + $sDivId = utils::Sanitize($this->sMenuId, '', 'element_identifier'); $oPage->add('
'); $aExtraParams['dashboard_div_id'] = $sDivId;