From: Bjoern Schiessle Date: Fri, 12 Feb 2016 14:27:58 +0000 (+0100) Subject: show remote server on auto complete X-Git-Tag: v9.0.0beta2~61^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=862e28f006801b13565f99253976fe973a09e657;p=nextcloud-server.git show remote server on auto complete --- diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 4cebf7962e8..b9628f223a9 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -219,7 +219,11 @@ if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) { text = text + ' ('+t('core', 'group')+')'; } else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) { - text = text + ' ('+t('core', 'remote')+')'; + if (item.value.server) { + text = text + ' (' + t('core', 'at') + ' ' + item.value.server + ')'; + } else { + text = text + ' (' + t('core', 'remote') + ')'; + } } insert.text(text); if(item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {