]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix Sidebar legacy FileInfoModel requirement 18927/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 16 Jan 2020 14:07:57 +0000 (15:07 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 16 Jan 2020 14:07:57 +0000 (15:07 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
apps/files/lib/Listener/LoadSidebarListener.php

index b98df0d850455c95b2e6a9b227aadd18c1008883..cc99c102081a8ed95c5c138cee790473bc5c636d 100644 (file)
@@ -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');
        }
 
 }