From ea4f2533352d93ee008d4b1c574eb303acdacad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 3 Dec 2019 18:33:25 +0100 Subject: Fix client load requirement for sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) Signed-off-by: npmbuildbot[bot] --- lib/Controller/PageController.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 5fd2ca0d..212bc564 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -73,6 +73,10 @@ class PageController extends Controller { $this->initialStateService->provideInitialState($this->appName, 'mimes', Application::MIMES); $this->initialStateService->provideInitialState($this->appName, 'maps', $this->config->getAppValue('maps', 'enabled', 'no') === 'yes'); + + // used by the sidebar to parse files requests + // TODO: move to a standalone dav fileinfo parser + Util::addScript('files', 'files/client'); Util::addScript($this->appName, 'photos'); Util::addStyle($this->appName, 'icons'); -- cgit v1.2.3