mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix vfsSelect does not show any content for the first load
This commit is contained in:
parent
7c65127e64
commit
861d714724
@ -448,7 +448,8 @@ class Vfs extends File
|
||||
{
|
||||
$content['path'] = \EGroupware\Api\Vfs::get_home_dir();
|
||||
}
|
||||
elseif ($favorites_flag)
|
||||
|
||||
if ($favorites_flag)
|
||||
{
|
||||
// Display favorites as if they were folders
|
||||
$files = array();
|
||||
@ -529,7 +530,7 @@ class Vfs extends File
|
||||
if ($download_baseUrl[0] == '/') $download_baseUrl = \EGroupware\Api\Egw::link($download_baseUrl);
|
||||
$content['download_baseUrl'] = $download_baseUrl;
|
||||
}
|
||||
|
||||
|
||||
Api\Cache::setSession('filemanger', 'select_path', $content['path']);
|
||||
// Response
|
||||
$response->data(array(
|
||||
|
Loading…
Reference in New Issue
Block a user