support one page mode on TimeLine page

This commit is contained in:
Uwe Steinmann 2020-03-10 17:10:19 +01:00
parent 061ab4509b
commit 7fcc100ae7
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ if($view) {
$view->setParam('dms', $dms);
$view->setParam('user', $user);
$view->setParam('accessobject', $accessop);
$view->setParam('onepage', false); // do most navigation by reloading areas of pages with ajax
$view->setParam('onepage', $settings->_onePageMode); // do most navigation by reloading areas of pages with ajax
$view->setParam('showtree', showtree());
$view->setParam('fromdate', isset($_GET['fromdate']) ? $_GET['fromdate'] : '');
$view->setParam('todate', isset($_GET['todate']) ? $_GET['todate'] : '');

View File

@ -162,6 +162,7 @@ $(document).ready(function () {
$this->printDeleteDocumentButtonJs();
$timelineurl = 'out.Timeline.php?action=data&fromdate='.date('Y-m-d', $from).'&todate='.date('Y-m-d', $to).'&skip='.urldecode(http_build_query(array('skip'=>$skip)));
$this->printTimelineJs($timelineurl, 550, ''/*date('Y-m-d', $from)*/, ''/*date('Y-m-d', $to+1)*/, $skip);
$this->printClickDocumentJs();
} /* }}} */
function css() { /* {{{ */