From 6db1065031a4537e99d5b01284cf973804a6c379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20Deutschla=CC=88nder?= Date: Thu, 20 Apr 2017 11:42:42 +0200 Subject: [PATCH] SPR-814: bugfix for content toggle / sidebar section toggle in detail template --- detail.php | 15 ++++++++++----- main.php | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/detail.php b/detail.php index 86f18a6..bedee99 100755 --- a/detail.php +++ b/detail.php @@ -14,14 +14,20 @@ if (!defined('DOKU_INC')) die(); /* must be run from with header('X-UA-Compatible: IE=edge,chrome=1'); global $JSINFO; -if (empty($JSINFO)) { - $JSINFO = array(); +if (empty($JSINFO['template'])) { + $JSINFO['template'] = array(); } +$JSINFO['template']['sprintdoc'] = array('sidebar_toggle_elements' => tpl_getConf('sidebar_sections')); + +$showTools = true; +$showSidebar = true; ?> +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ + ?>