mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 14:41:39 +00:00
separate js from html for document chooser
This commit is contained in:
parent
361b63256f
commit
4a85977874
|
@ -76,6 +76,9 @@ $(document).ready(function() {
|
||||||
<?php
|
<?php
|
||||||
$this->printKeywordChooserJs("form1");
|
$this->printKeywordChooserJs("form1");
|
||||||
$this->printDropFolderChooserJs("form1");
|
$this->printDropFolderChooserJs("form1");
|
||||||
|
if($libraryfolder) {
|
||||||
|
$this->printDocumentChooserJs("form1");
|
||||||
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function show() { /* {{{ */
|
function show() { /* {{{ */
|
||||||
|
@ -225,7 +228,7 @@ $(document).ready(function() {
|
||||||
<?php if($libraryfolder) { ?>
|
<?php if($libraryfolder) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php printMLText("librarydoc");?>:</td>
|
<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>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user