Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-16 17:07:57 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-16 17:07:57 +0300
commit613860e0f4eef5c3ff5e091dd7ac26a9be960548 (patch)
treee15aa78e9df27e9e2f55c346ea8f9afb32c41b15
parent5de3ea04170afd25a31f249a922feb3f9b189242 (diff)
Fix Sidebar legacy FileInfoModel requirement
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-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');
}
}