mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Set current app to filemanager so js loads correctly
This commit is contained in:
parent
675f0e2998
commit
8092e1fb86
@ -175,6 +175,7 @@ class Sharing extends \EGroupware\Api\Sharing
|
||||
$GLOBALS['egw_info']['user']['preferences']['filemanager']['nm_view'] = 'tile';
|
||||
$_GET['cd'] = 'no';
|
||||
$GLOBALS['egw_info']['flags']['js_link_registry'] = true;
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] = 'filemanager';
|
||||
Api\Framework::includeCSS('filemanager', 'sharing');
|
||||
$ui = new SharingUi();
|
||||
$ui->index();
|
||||
|
Loading…
Reference in New Issue
Block a user