From 95a7ece543b1b2a7ed05ae51e864d77653ae6f29 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 17 Feb 2017 12:51:52 +0100 Subject: [PATCH] Fix update of group name in the contacts list header on group rename (#5648) --- CHANGELOG | 1 + program/js/app.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2e2f01491df..d70fe13bdd3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ CHANGELOG Roundcube Webmail - 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 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 ---------------- diff --git a/program/js/app.js b/program/js/app.js index 2fdd10ce1a8..810f0ca7afe 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5908,9 +5908,6 @@ function rcube_webmail() boxtitle.append($('').text(prop ? prop.name : this.get_label('contacts'))); } - - if (prop) - this.triggerEvent('groupupdate', prop); }; // load contact record @@ -6323,6 +6320,7 @@ 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); } // update list node and re-sort it