From 986ac005e02c6dca0ac7ecdc4f9591b1ba71b841 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 b98df0d850..cc99c10208 100644 --- a/apps/files/lib/Listener/LoadSidebarListener.php +++ b/apps/files/lib/Listener/LoadSidebarListener.php @@ -39,6 +39,9 @@ class LoadSidebarListener implements IEventListener { } 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'); } }