summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-01-16 17:12:02 +0100
committerGitHub <noreply@github.com>2020-01-16 17:12:02 +0100
commitcf771c5816a1ab491610319c4cdb62c60b6a2040 (patch)
tree42bcc400af4e1f62fb26a8e9e73719102d9d228d
parent24d37e97bacb3d78190ecbf83bf9539c2ac12457 (diff)
parent613860e0f4eef5c3ff5e091dd7ac26a9be960548 (diff)
downloadnextcloud-server-cf771c5816a1ab491610319c4cdb62c60b6a2040.tar.gz
nextcloud-server-cf771c5816a1ab491610319c4cdb62c60b6a2040.zip
Merge pull request #18927 from nextcloud/fix/sidebar/fileinfomodel
Fix Sidebar legacy FileInfoModel requirement
-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');
}
}