diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-05-26 12:59:44 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-30 10:06:29 +0200 |
commit | e084183d1e9cd180ad1f29ba1d22c99ac643d166 (patch) | |
tree | 3e3bac974365d817efec42ab24d816a27e94a825 /apps/files_sharing/js | |
parent | 1d9129eac35b49a4e8d0d642a68d7d634f31c905 (diff) | |
download | nextcloud-server-e084183d1e9cd180ad1f29ba1d22c99ac643d166.tar.gz nextcloud-server-e084183d1e9cd180ad1f29ba1d22c99ac643d166.zip |
Added owner display name in action
Diffstat (limited to 'apps/files_sharing/js')
-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 b941722d0cf..cf5e65528e2 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -47,6 +47,9 @@ $tr.find('td.date').before($sharedWith); $tr.find('td.filename input:checkbox').remove(); $tr.attr('data-share-id', _.pluck(fileData.shares, 'id').join(',')); + if (this._sharedWithUser) { + $tr.attr('data-share-owner', fileData.shares[0].ownerDisplayName); + } return $tr; }, |