Merge pull request #10537 from MartB/mselect_fix
Fix multiSelectMenu for public shares #10536
This commit is contained in:
commit
ca0f2f63eb
|
@ -72,7 +72,24 @@ OCA.Sharing.PublicApp = {
|
||||||
fileActions: fileActions,
|
fileActions: fileActions,
|
||||||
detailsViewEnabled: false,
|
detailsViewEnabled: false,
|
||||||
filesClient: filesClient,
|
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;
|
this.files = OCA.Files.Files;
|
||||||
|
|
|
@ -399,6 +399,7 @@ class ShareController extends AuthPublicShareController {
|
||||||
\OCP\Util::addScript('files', 'fileinfomodel');
|
\OCP\Util::addScript('files', 'fileinfomodel');
|
||||||
\OCP\Util::addScript('files', 'newfilemenu');
|
\OCP\Util::addScript('files', 'newfilemenu');
|
||||||
\OCP\Util::addScript('files', 'files');
|
\OCP\Util::addScript('files', 'files');
|
||||||
|
\OCP\Util::addScript('files', 'filemultiselectmenu');
|
||||||
\OCP\Util::addScript('files', 'filelist');
|
\OCP\Util::addScript('files', 'filelist');
|
||||||
\OCP\Util::addScript('files', 'keyboardshortcuts');
|
\OCP\Util::addScript('files', 'keyboardshortcuts');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue