diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-05-08 00:48:06 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-05-08 11:20:00 +0300 |
commit | da3c3a04dc844998ebb5c86b0e363acb01ad37af (patch) | |
tree | 0474ed5896c46dfdbef24c7ccf70201cc7b93510 /apps/files/js | |
parent | 064fa5bdb5ff0f54db99d8061bdb2b4608515d81 (diff) |
Fix public upload by also load the semaphore method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/semaphore.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/js/semaphore.js b/apps/files/js/semaphore.js index 044f0af23f3..aa327e0f8a1 100644 --- a/apps/files/js/semaphore.js +++ b/apps/files/js/semaphore.js @@ -32,6 +32,10 @@ }; }; + // needed on public share page to properly register this + if (!OCA.Files) { + OCA.Files = {}; + } OCA.Files.Semaphore = Semaphore; })(); |