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,6 +6322,8 @@ function rcube_webmail()
else { else {
$(this.treelist.get_item(key)).children().first().html(prop.name); $(this.treelist.get_item(key)).children().first().html(prop.name);
this.env.contactfolders[key].name = this.env.contactgroups[key].name = prop.name; this.env.contactfolders[key].name = this.env.contactgroups[key].name = prop.name;
if (prop.id == this.env.group)
this.set_group_prop(prop); this.set_group_prop(prop);
} }

Loading…
Cancel
Save