diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 941124760..8f9eb9857 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -903,14 +903,21 @@ $(document).ready(function () { print ""; } /* }}} */ - function printDocumentChooser($formName) { /* {{{ */ - print ""; + function printDocumentChooser($form, $accessMode=M_READ, $exclude = -1, $default = false, $formname = '', $folder='', $partialtree=0) { /* {{{ */ + $formid = "docid".$form; + if(!$formname) + $formname = "docid"; + if(!$folder) + $folderid = $this->params['rootfolderid']; + else + $folderid = $folder->getID(); + print "getID() : "") ."\">"; print "