[Svn] r4026 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Thu Sep 30 15:38:21 CEST 2010


Author: alec
Date: 2010-09-30 08:38:21 -0500 (Thu, 30 Sep 2010)
New Revision: 4026

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Fix: contact group input is empty when using rename action more than once on the same group record


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2010-09-30 13:24:33 UTC (rev 4025)
+++ trunk/roundcubemail/program/js/app.js	2010-09-30 13:38:21 UTC (rev 4026)
@@ -3635,7 +3635,6 @@
     }
   };
 
-
   this.delete_contacts = function()
   {
     // exit if no mailbox specified or if selection is empty
@@ -3726,7 +3725,6 @@
     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 @@
     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] });
   };
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list