From dfba425d68f350ec8b7d7aebc8746b98476fb5fc Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 14 Aug 2015 15:41:08 +0200 Subject: Integration in files app to load scripts and styles on request --- apps/files/index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') diff --git a/apps/files/index.php b/apps/files/index.php index beae585cea4..a73caa50fbe 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -143,6 +143,9 @@ OCP\Util::addscript('files', 'fileactionsmenu'); OCP\Util::addscript('files', 'files'); OCP\Util::addscript('files', 'navigation'); OCP\Util::addscript('files', 'keyboardshortcuts'); + +\OC::$server->getEventDispatcher()->dispatch('OCA\Files::loadAdditionalScripts'); + $tmpl = new OCP\Template('files', 'index', 'user'); $tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']); $tmpl->assign('owner', $storageInfo['owner']); -- cgit v1.2.3