diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-14 14:42:42 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-19 13:06:55 +0100 |
commit | e8fe00003b326867de480d919fdfe78ced9e7857 (patch) | |
tree | 4b69f488a3b1529e473a3f1448d32cbbfa6db32c /apps/files_sharing/list.php | |
parent | 3022ef687a7bef87fc8eff7e29a68d8cf64542e9 (diff) | |
download | nextcloud-server-e8fe00003b326867de480d919fdfe78ced9e7857.tar.gz nextcloud-server-e8fe00003b326867de480d919fdfe78ced9e7857.zip |
Dispatch event to allow apps to load their script for collections
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/list.php')
-rw-r--r-- | apps/files_sharing/list.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index 1866c73b68c..219fe2863ed 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -33,5 +33,6 @@ $tmpl = new OCP\Template('files_sharing', 'list', ''); $tmpl->assign('showgridview', $showgridview && !$isIE); OCP\Util::addScript('files_sharing', 'dist/files_sharing'); +\OC::$server->getEventDispatcher()->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts'); $tmpl->printPage(); |