init variable

This commit is contained in:
Uwe Steinmann 2024-04-11 12:21:41 +02:00
parent b6a1339bd7
commit c8ac0bacad
2 changed files with 2 additions and 0 deletions

View File

@ -2290,6 +2290,7 @@ $(document).ready(function() {
$orderdir = (isset($orderby[1]) ? ($orderby[1] == 'd' ? 'desc' : 'asc') : 'asc');
if($folderid && ($folder = $this->params['dms']->getFolder($folderid))) {
$path = null;
if(!$partialtree) {
$path = $folder->getPath();
/* Get the first folder (root folder) of path */

View File

@ -2317,6 +2317,7 @@ $(document).ready(function() {
$orderdir = (isset($orderby[1]) ? ($orderby[1] == 'd' ? 'desc' : 'asc') : 'asc');
if($folderid && ($folder = $this->params['dms']->getFolder($folderid))) {
$path = null;
if(!$partialtree) {
$path = $folder->getPath();
/* Get the first folder (root folder) of path */