mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 22:17:33 +00:00
undo naming tree 'main'. It breaks selection of folders in the tree
This commit is contained in:
parent
8e139e46b3
commit
c0152e8def
|
@ -209,7 +209,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php
|
<?php
|
||||||
if($showtree == 1)
|
if($showtree == 1)
|
||||||
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, 'main', ($expandFolderTree == 1) ? -1 : 3, $orderby);
|
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, '', ($expandFolderTree == 1) ? -1 : 3, $orderby);
|
||||||
|
|
||||||
if ($enableDropUpload && $folder->getAccessMode($user) >= M_READWRITE) {
|
if ($enableDropUpload && $folder->getAccessMode($user) >= M_READWRITE) {
|
||||||
echo "SeedDMSUpload.setUrl('../op/op.Ajax.php');";
|
echo "SeedDMSUpload.setUrl('../op/op.Ajax.php');";
|
||||||
|
@ -581,7 +581,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
* access expandFolderTree with $this->params because it can
|
* access expandFolderTree with $this->params because it can
|
||||||
* be changed by preContent hook.
|
* be changed by preContent hook.
|
||||||
*/
|
*/
|
||||||
$this->printNewTreeNavigationHtml($folderid, M_READ, 0, 'main', ($this->params['expandFolderTree'] == 1) ? -1 : 3, $orderby);
|
$this->printNewTreeNavigationHtml($folderid, M_READ, 0, '', ($this->params['expandFolderTree'] == 1) ? -1 : 3, $orderby);
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
} else {
|
} else {
|
||||||
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=1\"><i class=\"icon-plus-sign\"></i></a>", true);
|
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=1\"><i class=\"icon-plus-sign\"></i></a>", true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user