summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-30 13:38:21 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-30 13:38:21 +0000
commit43a5063141e26838745def960d6c739a29808bdc (patch)
tree52c09fbaf5d872473da71e2692d8a2b0deef3268
parenta56fdf0c31e72d4d95146d88481373afd6ffe5a2 (diff)
- Fix: contact group input is empty when using rename action more than once on the same group record
git-svn-id: https://svn.roundcube.net/trunk@4026 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index e3ad4b000..f4ec7f3da 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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] });
};