Set current app to filemanager so js loads correctly

This commit is contained in:
nathangray 2018-07-18 12:27:27 -06:00 committed by Hadi Nategh
parent a6eb03f1fd
commit 94162698c9

View File

@ -379,6 +379,7 @@ class 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();