mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 12:00:09 +01:00
Set current app to filemanager so js loads correctly
This commit is contained in:
parent
a6eb03f1fd
commit
94162698c9
@ -379,6 +379,7 @@ class Sharing
|
|||||||
$GLOBALS['egw_info']['user']['preferences']['filemanager']['nm_view'] = 'tile';
|
$GLOBALS['egw_info']['user']['preferences']['filemanager']['nm_view'] = 'tile';
|
||||||
$_GET['cd'] = 'no';
|
$_GET['cd'] = 'no';
|
||||||
$GLOBALS['egw_info']['flags']['js_link_registry'] = true;
|
$GLOBALS['egw_info']['flags']['js_link_registry'] = true;
|
||||||
|
$GLOBALS['egw_info']['flags']['currentapp'] = 'filemanager';
|
||||||
Api\Framework::includeCSS('filemanager', 'sharing');
|
Api\Framework::includeCSS('filemanager', 'sharing');
|
||||||
$ui = new SharingUi();
|
$ui = new SharingUi();
|
||||||
$ui->index();
|
$ui->index();
|
||||||
|
Loading…
Reference in New Issue
Block a user