From 8dd79092671266fc75fa9256b4355f525f142e58 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 4 Dec 2025 18:16:44 +0100 Subject: [PATCH] use complete to file loaded by pdf viewer --- views/bootstrap/class.DocumentVersionDetail.php | 3 ++- views/bootstrap/class.ViewDocument.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/views/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index 99317fe7c..d4256223a 100644 --- a/views/bootstrap/class.DocumentVersionDetail.php +++ b/views/bootstrap/class.DocumentVersionDetail.php @@ -83,6 +83,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { function preview() { /* {{{ */ $dms = $this->params['dms']; + $settings = $this->params['settings']; $document = $this->params['document']; $timeout = $this->params['timeout']; $xsendfile = $this->params['xsendfile']; @@ -130,7 +131,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { case 'application/pdf': $this->contentHeading(getMLText("preview")); ?> - + contentHeading(getMLText("preview")); ?>
- +
contentHeading(getMLText("preview_pdf")); ?>
- +