Merge pull request #9983 from owncloud/sharing_add_unshare_to_overview
update attributes for share-with-user view
This commit is contained in:
commit
03f7c5c561
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@
|
|||
$tr.attr('data-share-id', _.pluck(fileData.shares, 'id').join(','));
|
||||
if (this._sharedWithUser) {
|
||||
$tr.attr('data-share-owner', fileData.shareOwner);
|
||||
$tr.attr('data-mounttype', 'shared-root');
|
||||
var permission = parseInt($tr.attr('data-permissions')) | OC.PERMISSION_DELETE;
|
||||
$tr.attr('data-permissions', permission);
|
||||
}
|
||||
return $tr;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue