mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
Merge branch 'seeddms-5.0.x' into develop
This commit is contained in:
commit
601f32fc00
|
@ -33,6 +33,7 @@ class SeedDMS_View_AddDocument extends SeedDMS_Bootstrap_Style {
|
||||||
|
|
||||||
function js() { /* {{{ */
|
function js() { /* {{{ */
|
||||||
$libraryfolder = $this->params['libraryfolder'];
|
$libraryfolder = $this->params['libraryfolder'];
|
||||||
|
$dropfolderdir = $this->params['dropfolderdir'];
|
||||||
header('Content-Type: application/javascript; charset=UTF-8');
|
header('Content-Type: application/javascript; charset=UTF-8');
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
function checkForm()
|
||||||
|
@ -77,8 +78,10 @@ $(document).ready(function() {
|
||||||
<?php
|
<?php
|
||||||
$this->printKeywordChooserJs("form1");
|
$this->printKeywordChooserJs("form1");
|
||||||
$this->printDropFolderChooserJs("form1");
|
$this->printDropFolderChooserJs("form1");
|
||||||
if($libraryfolder) {
|
if($libraryfolder)
|
||||||
$this->printDocumentChooserJs("form1");
|
$this->printDocumentChooserJs("form1");
|
||||||
|
if($dropfolderdir) {
|
||||||
|
$this->printDropFolderChooserJs("form1");
|
||||||
}
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user