diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-01-16 17:07:57 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-01-16 17:07:57 +0300 |
commit | 613860e0f4eef5c3ff5e091dd7ac26a9be960548 (patch) | |
tree | e15aa78e9df27e9e2f55c346ea8f9afb32c41b15 | |
parent | 5de3ea04170afd25a31f249a922feb3f9b189242 (diff) |
Fix Sidebar legacy FileInfoModel requirement
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files/lib/Listener/LoadSidebarListener.php | 3 |
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'); } } |