From a7736397a8dc54f1a82f325f8e8519629a104d17 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 21 Sep 2015 16:47:47 +0200 Subject: [PATCH] pass $timeline instead of $document to printTimeline() --- views/bootstrap/class.Bootstrap.php | 20 +++----------------- views/bootstrap/class.ViewDocument.php | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 22f145cb1..cd66d678c 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2017,8 +2017,7 @@ mayscript> * * @param object $document document */ - protected function printTimeline($document) { /* {{{ */ - $timeline = $document->getTimeline(); + protected function printTimeline($timeline, $height=300) { /* {{{ */ ?>