mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
0f991c2dc1
|
@ -371,7 +371,6 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
|||
if($resArr['folders']) {
|
||||
foreach ($resArr['folders'] as $entry) {
|
||||
if ($entry->getAccessMode($user) >= M_READ) {
|
||||
$entry->verifyLastestContentExpriry();
|
||||
$entries[] = $entry;
|
||||
$fcount++;
|
||||
}
|
||||
|
@ -381,6 +380,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
|||
if($resArr['docs']) {
|
||||
foreach ($resArr['docs'] as $entry) {
|
||||
if ($entry->getAccessMode($user) >= M_READ) {
|
||||
$entry->verifyLastestContentExpriry();
|
||||
$entries[] = $entry;
|
||||
$dcount++;
|
||||
}
|
||||
|
|
|
@ -936,11 +936,10 @@ $(document).ready(function () {
|
|||
|
||||
function printDocumentChooserJs($formName) { /* {{{ */
|
||||
?>
|
||||
modalDocChooser<?php echo $formName ?> = $('#docChooser<?php echo $formName ?>');
|
||||
function documentSelected<?php echo $formName ?>(id, name) {
|
||||
$('#docid<?php echo $formName ?>').val(id);
|
||||
$('#choosedocsearch').val(name);
|
||||
modalDocChooser<?php echo $formName ?>.modal('hide');
|
||||
$('#docChooser<?php echo $formName ?>').modal('hide');
|
||||
}
|
||||
function folderSelected<?php echo $formName ?>(id, name) {
|
||||
}
|
||||
|
@ -985,11 +984,10 @@ function folderSelected<?php echo $formName ?>(id, name) {
|
|||
|
||||
function printFolderChooserJs($formName) { /* {{{ */
|
||||
?>
|
||||
modalFolderChooser<?php echo $formName ?> = $('#folderChooser<?php echo $formName ?>');
|
||||
function folderSelected<?php echo $formName ?>(id, name) {
|
||||
$('#targetid<?php echo $formName ?>').val(id);
|
||||
$('#choosefoldersearch<?php echo $formName ?>').val(name);
|
||||
modalFolderChooser<?php echo $formName ?>.modal('hide');
|
||||
$('#folderChooser<?php echo $formName ?>').modal('hide');
|
||||
}
|
||||
<?php
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user