BUG 9395 Don't show folders in tree of Documents SOLVED
- I add validate to ajax tree to show all folders
This commit is contained in:
@@ -103,6 +103,7 @@ function expandNode(){
|
|||||||
if($_POST ['node']=="root") $_POST ['node'] ="/";
|
if($_POST ['node']=="root") $_POST ['node'] ="/";
|
||||||
|
|
||||||
if(!(isset($_POST['sendWhat']))) $_POST['sendWhat']="both";
|
if(!(isset($_POST['sendWhat']))) $_POST['sendWhat']="both";
|
||||||
|
if(isset($_POST['renderTree'])) $limit = 1000000;
|
||||||
$totalItems=0;
|
$totalItems=0;
|
||||||
$totalFolders=0;
|
$totalFolders=0;
|
||||||
$totalDocuments=0;
|
$totalDocuments=0;
|
||||||
|
|||||||
@@ -1617,7 +1617,8 @@ var documentsTab = {
|
|||||||
dataUrl : '../appFolder/appFolderAjax.php',
|
dataUrl : '../appFolder/appFolderAjax.php',
|
||||||
baseParams : {
|
baseParams : {
|
||||||
action : 'expandNode',
|
action : 'expandNode',
|
||||||
sendWhat : 'dirs'
|
sendWhat : 'dirs',
|
||||||
|
renderTree : 1
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
containerScroll : true,
|
containerScroll : true,
|
||||||
|
|||||||
Reference in New Issue
Block a user