Skip to content
Snippets Groups Projects
Commit 03f7c5c5 authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #9983 from owncloud/sharing_add_unshare_to_overview

update attributes for share-with-user view
parents 29a3f1e2 aff94892
Branches
No related tags found
No related merge requests found
......@@ -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;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment