mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
Fix vfsSelect does not show any content for the first load
This commit is contained in:
parent
977d5db61b
commit
6b0a8a1b5d
@ -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