diff options
author | Björn Schießle <schiessle@owncloud.com> | 2014-07-29 14:00:57 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2014-07-29 14:00:57 +0200 |
commit | 03f7c5c56161c68ecc52a5e15d6f4d41a13fbef1 (patch) | |
tree | 78e0bea55909daf0c9fbd5e5c675b2e8b752dcfe | |
parent | 29a3f1e2af698d356bf52fa9ba181c2c1bf5b9a2 (diff) | |
parent | aff948925a896e996304a092cfb01c48c11f6ad7 (diff) | |
download | nextcloud-server-03f7c5c56161c68ecc52a5e15d6f4d41a13fbef1.tar.gz nextcloud-server-03f7c5c56161c68ecc52a5e15d6f4d41a13fbef1.zip |
Merge pull request #9983 from owncloud/sharing_add_unshare_to_overview
update attributes for share-with-user view
-rw-r--r-- | apps/files_sharing/js/sharedfilelist.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index c060691b8b5..7a43185a2d7 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -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; }, |