Merge pull request #18381 from owncloud/public-share-fixdepsloading

Fix file actions menu in public page
This commit is contained in:
Morris Jobke 2015-08-18 13:58:03 +02:00
commit 7b0f43efb6
2 changed files with 2 additions and 1 deletions

View File

@ -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');
},

View File

@ -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');