diff options
Diffstat (limited to 'apps/files/js/semaphore.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; })(); |