From 2523aa8e45e7c6131f77e30415e9cc6d9ce2c5bf Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 24 Sep 2025 15:01:13 +0200 Subject: [PATCH] use pdfviewer from new extension 'pdfviewer' --- views/bootstrap/class.ViewDocument.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 87b2b6087..80abf593a 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -255,6 +255,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style { echo "SeedDMSUpload.setMaxFileSizeMsg('".getMLText("uploading_maxsize")."');"; } ?> + $(document).ready( function() { $("#form1").validate({ ignore: [], @@ -613,7 +614,7 @@ $(document).ready( function() { $this->contentHeading(getMLText("preview")); ?>
- +
extensionIsDisabled('pdfviewer')) { $pdfpreviewer = new SeedDMS_Preview_PdfPreviewer($cachedir, $timeout, $xsendfile); if($conversionmgr) $pdfpreviewer->setConversionMgr($conversionmgr); @@ -650,7 +651,7 @@ $(document).ready( function() { $this->contentHeading(getMLText("preview_pdf")); ?>
- +