summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-03-27 21:17:58 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-03-27 22:55:05 +0100
commit3af61a0a7cd1833b347c6b1f1c46626471c60ea1 (patch)
tree281c120705dd738f92e465cc3a140975d1935e4b
parent78c694b6eef18f6cc91e939aaa8abe33e81bc7f5 (diff)
downloadnextcloud-server-3af61a0a7cd1833b347c6b1f1c46626471c60ea1.tar.gz
nextcloud-server-3af61a0a7cd1833b347c6b1f1c46626471c60ea1.zip
Share Dialog: show Displayname instead of internal name
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 8e767663f12..39df5e4c5bf 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -271,7 +271,7 @@ OC.Share={
}
var collectionList = $('#shareWithList li').filterAttr('data-collection', item);
if (collectionList.length > 0) {
- $(collectionList).append(', '+shareWith);
+ $(collectionList).append(', '+shareWithDisplayName);
} else {
var html = '<li style="clear: both;" data-collection="'+item+'">'+t('core', 'Shared in {item} with {user}', {'item': item, user: shareWithDisplayName})+'</li>';
$('#shareWithList').prepend(html);