show remote server on auto complete
This commit is contained in:
parent
11abf2487c
commit
862e28f006
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue