mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
click on related documents works in onepage mode
This commit is contained in:
parent
52d958afc8
commit
a424268514
|
@ -82,6 +82,7 @@ if($view) {
|
|||
$view->setParam('currenttab', isset($_GET['currenttab']) ? $_GET['currenttab'] : "");
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view->setParam('xsendfile', $settings->_enableXsendfile);
|
||||
$view->setParam('onepage', $settings->_onePageMode); // do most navigation by reloading areas of pages with ajax
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
@ -183,6 +183,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$document = $this->params['document'];
|
||||
$onepage = $this->params['onepage'];
|
||||
|
||||
header('Content-Type: application/javascript');
|
||||
if($user->isAdmin()) {
|
||||
|
@ -193,6 +194,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
$this->printDocumentChooserJs("form1");
|
||||
$this->printDeleteDocumentButtonJs();
|
||||
if($onepage) {
|
||||
$this->printClickDocumentJs();
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function documentInfos() { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user