summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-30 13:38:21 +0000
committeralecpl <alec@alec.pl>2010-09-30 13:38:21 +0000
commit0bc51d9d0f8a36f4e0aa1d80ed019c958e233c16 (patch)
treeaef6bf53d9e9dcd3beca12baf8596373e4d6fd13 /program/js
parentce92ba767a9557daf7f18be94882dd7e6f4591fb (diff)
- Fix: contact group input is empty when using rename action more than once on the same group record
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js4
1 files changed, 1 insertions, 3 deletions
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] });
};