diff --git a/application/dashboard.class.inc.php b/application/dashboard.class.inc.php index 753144b0f..5bd83fe1a 100644 --- a/application/dashboard.class.inc.php +++ b/application/dashboard.class.inc.php @@ -1021,20 +1021,21 @@ EOF */ protected function RenderSelector(WebPage $oPage, $aAjaxParams = array()) { + if (!$this->HasCustomDashboard()) { + return; + } $sId = $this->GetId(); $sDivId = utils::Sanitize($sId, '', 'element_identifier'); $sExtraParams = json_encode($aAjaxParams); - $sSelectorHtml = '