diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-08-09 10:41:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 10:41:38 +0200 |
commit | ca0f2f63eb19f0d92d83c1ebbd1a29d2c7c45e08 (patch) | |
tree | 490f552a0dac4396b87336a34a0340cff31ab2cc /apps/files_sharing/js/public.js | |
parent | a21c93a3cf991ee58b1cda3762aa84f43bc42afd (diff) | |
parent | 5109743383cdea5e73d1562f7a82051ed3a40a15 (diff) | |
download | nextcloud-server-ca0f2f63eb19f0d92d83c1ebbd1a29d2c7c45e08.tar.gz nextcloud-server-ca0f2f63eb19f0d92d83c1ebbd1a29d2c7c45e08.zip |
Merge pull request #10537 from MartB/mselect_fix
Fix multiSelectMenu for public shares #10536
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 998964b2d8a..64ffe8bbf2e 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -72,7 +72,24 @@ OCA.Sharing.PublicApp = { fileActions: fileActions, detailsViewEnabled: false, filesClient: filesClient, - enableUpload: true + enableUpload: true, + multiSelectMenu: [ + { + name: 'copyMove', + displayName: t('files', 'Move or copy'), + iconClass: 'icon-external', + }, + { + name: 'download', + displayName: t('files', 'Download'), + iconClass: 'icon-download', + }, + { + name: 'delete', + displayName: t('files', 'Delete'), + iconClass: 'icon-delete', + } + ] } ); this.files = OCA.Files.Files; |