Fix multiSelectMenu for public shares #10536
Signed-off-by: Martin Böh (MartB) <mart.b@outlook.de>
This commit is contained in:
parent
ca54166e35
commit
5109743383
|
@ -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;
|
||||
|
|
|
@ -399,6 +399,7 @@ class ShareController extends AuthPublicShareController {
|
|||
\OCP\Util::addScript('files', 'fileinfomodel');
|
||||
\OCP\Util::addScript('files', 'newfilemenu');
|
||||
\OCP\Util::addScript('files', 'files');
|
||||
\OCP\Util::addScript('files', 'filemultiselectmenu');
|
||||
\OCP\Util::addScript('files', 'filelist');
|
||||
\OCP\Util::addScript('files', 'keyboardshortcuts');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue