Fix update of group name in the contacts list header on group rename (#5648)

pull/5652/head
Aleksander Machniak 8 years ago
parent e2a8fb799e
commit 95a7ece543

@ -13,6 +13,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where some classic skin images were not displayed in IE/Edge (#5614) - Fix bug where some classic skin images were not displayed in IE/Edge (#5614)
- Fix bug where signature couldn't be added above the quote in Firefox 51 (#5628) - Fix bug where signature couldn't be added above the quote in Firefox 51 (#5628)
- Fix regression where groups with email address were resolved to its members' addresses - Fix regression where groups with email address were resolved to its members' addresses
- Fix update of group name in the contacts list header on group rename (#5648)
RELEASE 1.3-beta RELEASE 1.3-beta
---------------- ----------------

@ -5908,9 +5908,6 @@ function rcube_webmail()
boxtitle.append($('<span>').text(prop ? prop.name : this.get_label('contacts'))); boxtitle.append($('<span>').text(prop ? prop.name : this.get_label('contacts')));
} }
if (prop)
this.triggerEvent('groupupdate', prop);
}; };
// load contact record // load contact record
@ -6323,6 +6320,7 @@ 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;
this.set_group_prop(prop);
} }
// update list node and re-sort it // update list node and re-sort it

Loading…
Cancel
Save