diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 062556b80..06a2d4cff 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -447,6 +447,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document); + echo $this->callHook('preContent'); if ($document->isLocked()) { $lockingUser = $document->getLockingUser(); $txt = $this->callHook('documentIsLocked', $document, $lockingUser); @@ -1504,6 +1505,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { callHook('postContent'); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */