Merge pull request #9983 from owncloud/sharing_add_unshare_to_overview

update attributes for share-with-user view
This commit is contained in:
Björn Schießle 2014-07-29 14:00:57 +02:00
commit 03f7c5c561

View file

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