From 13babfa3f9c13a254022b8e19d1a1aed9adf6472 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 29 May 2015 20:46:25 +0200 Subject: [PATCH] add field for selecting a document from the library --- views/bootstrap/class.AddDocument.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index 3cd74b1b7..b33edb532 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -41,6 +41,7 @@ class SeedDMS_View_AddDocument extends SeedDMS_Bootstrap_Style { $enableselfrevapp = $this->params['enableselfrevapp']; $strictformcheck = $this->params['strictformcheck']; $dropfolderdir = $this->params['dropfolderdir']; + $libraryfolder = $this->params['libraryfolder']; $workflowmode = $this->params['workflowmode']; $presetexpiration = $this->params['presetexpiration']; $sortusersinlist = $this->params['sortusersinlist']; @@ -214,6 +215,12 @@ $(document).ready(function() { : printDropFolderChooser("form1");?> + + + + : + printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?> + :