From 0bc51d9d0f8a36f4e0aa1d80ed019c958e233c16 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 30 Sep 2010 13:38:21 +0000 Subject: - Fix: contact group input is empty when using rename action more than once on the same group record --- program/js/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index e3ad4b000..f4ec7f3da 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3635,7 +3635,6 @@ function rcube_webmail() } }; - this.delete_contacts = function() { // exit if no mailbox specified or if selection is empty @@ -3726,7 +3725,6 @@ function rcube_webmail() this.enable_command('export', (this.contact_list.rowcount > 0)); }; - this.group_create = function() { if (!this.gui_objects.folderlist || !this.env.address_sources[this.env.source].groups) @@ -3860,7 +3858,7 @@ function rcube_webmail() if (li && (link = li.firstChild) && link.tagName.toLowerCase() == 'a') link.innerHTML = prop.name; - this.env.contactfolders[key].name = this.env.contactgroups[key].name = name; + this.env.contactfolders[key].name = this.env.contactgroups[key].name = prop.name; this.triggerEvent('group_update', { id:prop.id, source:prop.source, name:prop.name, li:li[0] }); }; -- cgit v1.2.3