- Fix: contact group input is empty when using rename action more than once on the same group record

release-0.6
alecpl 14 years ago
parent ce92ba767a
commit 0bc51d9d0f

@ -3635,7 +3635,6 @@ function rcube_webmail()
} }
}; };
this.delete_contacts = function() this.delete_contacts = function()
{ {
// exit if no mailbox specified or if selection is empty // 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.enable_command('export', (this.contact_list.rowcount > 0));
}; };
this.group_create = function() this.group_create = function()
{ {
if (!this.gui_objects.folderlist || !this.env.address_sources[this.env.source].groups) 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') if (li && (link = li.firstChild) && link.tagName.toLowerCase() == 'a')
link.innerHTML = prop.name; 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] }); this.triggerEvent('group_update', { id:prop.id, source:prop.source, name:prop.name, li:li[0] });
}; };

Loading…
Cancel
Save