From 8092e1fb8681075d95d067428158f3cebf6895e4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 18 Jul 2018 12:27:27 -0600 Subject: [PATCH] Set current app to filemanager so js loads correctly --- api/src/Vfs/Sharing.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Vfs/Sharing.php b/api/src/Vfs/Sharing.php index 166e1b525d..a11d2990d6 100644 --- a/api/src/Vfs/Sharing.php +++ b/api/src/Vfs/Sharing.php @@ -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();