diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 1d633a655d..f911f3689e 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -33,6 +33,10 @@ OCA.Sharing.PublicApp = { // regular actions fileActions.merge(OCA.Files.fileActions); + // in case apps would decide to register file actions later, + // replace the global object with this one + OCA.Files.fileActions = fileActions; + this._initialized = true; this.initialDir = $('#dir').val();