diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-27 18:00:32 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-27 18:00:32 +0200 |
commit | 7a1b45c43bcca2de24ef1cc55dd1867b63e1462e (patch) | |
tree | fa55176052a608c56a6d554b35a68afa8685ec30 /apps/files_sharing/js/public.js | |
parent | a18658fa7fd142e14d0c3ffbba7bd1118045d03d (diff) | |
parent | 0ff30a7d5e28d4eeb391e87f33ea28b643814574 (diff) | |
download | nextcloud-server-7a1b45c43bcca2de24ef1cc55dd1867b63e1462e.tar.gz nextcloud-server-7a1b45c43bcca2de24ef1cc55dd1867b63e1462e.zip |
Merge pull request #9260 from owncloud/fileactions-lateregisterinpublicpage
Allow late registration of file actions in public page
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 1d633a655d5..f911f3689eb 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(); |