From 4290e705cf54c701d2fa8b3d3dbf03f2215a9308 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Jul 2015 07:59:54 +0200 Subject: [PATCH] add tasks to menu if configured --- views/bootstrap/class.Bootstrap.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index b7870a653..9cb93535c 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -350,13 +350,16 @@ $(document).ready(function () { echo " \n"; echo " \n"; - echo "
"; - echo " \n"; - echo "
"; + if($this->params['enablemenutasks']) { + echo "
"; + echo " \n"; + echo "
"; + $this->addFooterJS('checkTasks();'); + } if($this->params['enableclipboard']) { echo "
";