mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 02:44:57 -05:00
Combine additional files_sharing scripts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
8e89ad21a2
commit
48158c8bec
2 changed files with 6 additions and 3 deletions
|
|
@ -38,10 +38,8 @@ $eventDispatcher = \OC::$server->getEventDispatcher();
|
|||
$eventDispatcher->addListener(
|
||||
'OCA\Files::loadAdditionalScripts',
|
||||
function() {
|
||||
\OCP\Util::addScript('files_sharing', 'share');
|
||||
\OCP\Util::addScript('files_sharing', 'sharetabview');
|
||||
\OCP\Util::addScript('files_sharing', 'sharebreadcrumbview');
|
||||
\OCP\Util::addStyle('files_sharing', 'mergedAdditionalStyles');
|
||||
\OCP\Util::addScript('files_sharing', 'additionalScripts');
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
5
apps/files_sharing/js/additionalScripts.json
Normal file
5
apps/files_sharing/js/additionalScripts.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
"share.js",
|
||||
"sharetabview.js",
|
||||
"sharebreadcrumbview.js"
|
||||
]
|
||||
Loading…
Reference in a new issue