Share Dialog: show Displayname instead of internal name

This commit is contained in:
Arthur Schiwon 2013-03-27 21:17:58 +01:00
parent 78c694b6ee
commit 3af61a0a7c
1 changed files with 1 additions and 1 deletions

View File

@ -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);