separate js from html for document chooser

This commit is contained in:
Uwe Steinmann 2016-03-18 16:25:07 +01:00
parent 361b63256f
commit 4a85977874

View File

@ -76,6 +76,9 @@ $(document).ready(function() {
<?php
$this->printKeywordChooserJs("form1");
$this->printDropFolderChooserJs("form1");
if($libraryfolder) {
$this->printDocumentChooserJs("form1");
}
} /* }}} */
function show() { /* {{{ */
@ -225,7 +228,7 @@ $(document).ready(function() {
<?php if($libraryfolder) { ?>
<tr>
<td><?php printMLText("librarydoc");?>:</td>
<td><?php $this->printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?></td>
<td><?php $this->printDocumentChooserHtml("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?></td>
</tr>
<?php } ?>
<tr>