From 862e28f006801b13565f99253976fe973a09e657 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 12 Feb 2016 15:27:58 +0100 Subject: [PATCH] show remote server on auto complete --- core/js/sharedialogview.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.39.5