summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-05-07 23:48:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2019-05-07 23:48:06 +0200
commit2565e167700f10086d231e72f5ef7ac870053cc9 (patch)
tree6c110448ea4890b7a82afa64dd29ce7b7969a51a /apps/files_sharing
parentefc89e4a12b21a19344d9fc0b4af9520a0a6ece4 (diff)
downloadnextcloud-server-2565e167700f10086d231e72f5ef7ac870053cc9.tar.gz
nextcloud-server-2565e167700f10086d231e72f5ef7ac870053cc9.zip
Fix public upload by also load the semaphore method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Controller/ShareController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php
index 3bd65cd3974..0725e520b2d 100644
--- a/apps/files_sharing/lib/Controller/ShareController.php
+++ b/apps/files_sharing/lib/Controller/ShareController.php
@@ -412,6 +412,7 @@ class ShareController extends AuthPublicShareController {
}
// Load files we need
+ \OCP\Util::addScript('files', 'semaphore');
\OCP\Util::addScript('files', 'file-upload');
\OCP\Util::addStyle('files_sharing', 'publicView');
\OCP\Util::addScript('files_sharing', 'public');