Merge pull request #18381 from owncloud/public-share-fixdepsloading
Fix file actions menu in public page
This commit is contained in:
commit
7b0f43efb6
|
@ -616,7 +616,7 @@
|
|||
name: 'Delete',
|
||||
mime: 'all',
|
||||
// permission is READ because we show a hint instead if there is no permission
|
||||
permissions: OC.PERMISSION_READ,
|
||||
permissions: OC.PERMISSION_DELETE,
|
||||
icon: function() {
|
||||
return OC.imagePath('core', 'actions/delete');
|
||||
},
|
||||
|
|
|
@ -16,6 +16,7 @@ OCP\Util::addStyle('files', 'files');
|
|||
OCP\Util::addStyle('files', 'upload');
|
||||
OCP\Util::addScript('files', 'filesummary');
|
||||
OCP\Util::addScript('files', 'breadcrumb');
|
||||
OCP\Util::addScript('files', 'fileinfomodel');
|
||||
OCP\Util::addScript('files', 'files');
|
||||
OCP\Util::addScript('files', 'filelist');
|
||||
OCP\Util::addscript('files', 'keyboardshortcuts');
|
||||
|
|
Loading…
Reference in New Issue