mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +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();
|
$content['path'] = \EGroupware\Api\Vfs::get_home_dir();
|
||||||
}
|
}
|
||||||
elseif ($favorites_flag)
|
|
||||||
|
if ($favorites_flag)
|
||||||
{
|
{
|
||||||
// Display favorites as if they were folders
|
// Display favorites as if they were folders
|
||||||
$files = array();
|
$files = array();
|
||||||
@ -529,7 +530,7 @@ class Vfs extends File
|
|||||||
if ($download_baseUrl[0] == '/') $download_baseUrl = \EGroupware\Api\Egw::link($download_baseUrl);
|
if ($download_baseUrl[0] == '/') $download_baseUrl = \EGroupware\Api\Egw::link($download_baseUrl);
|
||||||
$content['download_baseUrl'] = $download_baseUrl;
|
$content['download_baseUrl'] = $download_baseUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
Api\Cache::setSession('filemanger', 'select_path', $content['path']);
|
Api\Cache::setSession('filemanger', 'select_path', $content['path']);
|
||||||
// Response
|
// Response
|
||||||
$response->data(array(
|
$response->data(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user