Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correctly handle displaynames returned from the sharee API
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and Backportbot committed Jan 14, 2019
commit 0d5f1e99f8d1e9e8383efdbd018414b03d2b0761
4 changes: 2 additions & 2 deletions core/js/sharedialogview.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@

autocompleteRenderItem: function(ul, item) {
var icon = 'icon-user';
var text = item.label;
var text = escapeHTML(item.label);
var description = '';
var type = '';
var getTranslatedType = function(type) {
Expand All @@ -497,7 +497,7 @@
}

if (typeof item.name !== 'undefined') {
text = item.name;
text = escapeHTML(item.name);
}
if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {
icon = 'icon-contacts-dark';
Expand Down