Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index b37abdc84..5caafdbcf 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4858,16 +4858,18 @@ function rcube_webmail()
var data, name, n, id;
for (n = 0; n < selection.length; n++) {
if ((id = selection[n]) && (data = this.env.contactdata[id])) {
- // We wrap the group name with invisible markers to prevent from problems with group expanding (#7569)
- name = '\u200b' + (data.name || data) + '\u200b';
- recipients.push(name);
+ name = data.name || data
// group is added, expand it
if (id.charAt(0) == 'E' && input.length) {
+ // We wrap the group name with invisible markers to prevent from problems with group expanding (#7569)
+ name = '\u200b' + name + '\u200b';
var gid = id.substr(1);
this.group2expand[gid] = {name: name, input: input.get(0)};
this.http_request('group-expand', {_source: data.source || this.env.source, _gid: gid}, false);
}
+
+ recipients.push(name);
}
}
}