From 613860e0f4eef5c3ff5e091dd7ac26a9be960548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 16 Jan 2020 15:07:57 +0100 Subject: [PATCH] Fix Sidebar legacy FileInfoModel requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/lib/Listener/LoadSidebarListener.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php index b98df0d850455..cc99c102081a8 100644 --- a/apps/files/lib/Listener/LoadSidebarListener.php +++ b/apps/files/lib/Listener/LoadSidebarListener.php @@ -39,6 +39,9 @@ public function handle(Event $event): void { } Util::addScript(Application::APP_ID, 'dist/sidebar'); + // needed by the Sidebar legacy tabs + // TODO: remove when all tabs migrated to the new api + Util::addScript('files', 'fileinfomodel'); } }