check group id matches current one before changing the title

pull/5652/head
JohnDoh 8 years ago committed by GitHub
parent e6f18ba6a6
commit 82d049f1a2

@ -6322,7 +6322,9 @@ function rcube_webmail()
else {
$(this.treelist.get_item(key)).children().first().html(prop.name);
this.env.contactfolders[key].name = this.env.contactgroups[key].name = prop.name;
this.set_group_prop(prop);
if (prop.id == this.env.group)
this.set_group_prop(prop);
}
// update list node and re-sort it

Loading…
Cancel
Save