pass folder object and not id to printDocumentChooser()

This commit is contained in:
Uwe Steinmann 2015-07-06 16:09:25 +02:00
parent 85174c6f45
commit 6b1124c23f

View File

@ -219,7 +219,7 @@ $(document).ready(function() {
<?php if($libraryfolder) { ?>
<tr>
<td><?php printMLText("librarydoc");?>:</td>
<td><?php $this->printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder->getID(), 1);?></td>
<td><?php $this->printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?></td>
</tr>
<?php } ?>
<tr>