Integration in files app to load scripts and styles on request
This commit is contained in:
parent
0b64268910
commit
dfba425d68
1 changed files with 3 additions and 0 deletions
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue