summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-26 12:59:44 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-30 10:06:29 +0200
commite084183d1e9cd180ad1f29ba1d22c99ac643d166 (patch)
tree3e3bac974365d817efec42ab24d816a27e94a825 /apps/files_sharing/js
parent1d9129eac35b49a4e8d0d642a68d7d634f31c905 (diff)
downloadnextcloud-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.js3
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;
},