summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-16 15:07:57 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-16 15:07:57 +0100
commit613860e0f4eef5c3ff5e091dd7ac26a9be960548 (patch)
treee15aa78e9df27e9e2f55c346ea8f9afb32c41b15 /apps/files/lib
parent5de3ea04170afd25a31f249a922feb3f9b189242 (diff)
downloadnextcloud-server-613860e0f4eef5c3ff5e091dd7ac26a9be960548.tar.gz
nextcloud-server-613860e0f4eef5c3ff5e091dd7ac26a9be960548.zip
Fix Sidebar legacy FileInfoModel requirement
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib')
-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');
}
}