From 5995286c17520ea743b789efc8b8acb10e47fa5e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 26 Mar 2018 10:05:14 +0200 Subject: [PATCH] run js checkTasks() only if tasks in menu are turned on --- views/bootstrap/class.Bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index f2a2edae6..8a79545f8 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -153,7 +153,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $tmp['action'] = 'webrootjs'; echo ''."\n"; echo ''."\n"; - if(isset($this->params['user']) && $this->params['user']) { + if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) { $this->addFooterJS('checkTasks();'); } if($this->footerjs) {