summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/lib/Listener/LoadSidebarListener.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php
index b98df0d8504..cc99c102081 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');
}
}