[Svn] r2357 - in trunk/roundcubemail: . program/js

trac at roundcube.net trac at roundcube.net
Tue Mar 17 20:21:49 CET 2009


Author: alec
Date: 2009-03-17 14:21:48 -0500 (Tue, 17 Mar 2009)
New Revision: 2357

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/list.js
Log:
- Fix incorrect row id parsing for LDAP contacts list (#1485784)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2009-03-17 15:04:05 UTC (rev 2356)
+++ trunk/roundcubemail/CHANGELOG	2009-03-17 19:21:48 UTC (rev 2357)
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix incorrect row id parsing for LDAP contacts list (#1485784) 
 - Fix 'mode' parameter in sqlite DSN (#1485772)
 
 RELEASE 0.2.1

Modified: trunk/roundcubemail/program/js/list.js
===================================================================
--- trunk/roundcubemail/program/js/list.js	2009-03-17 15:04:05 UTC (rev 2356)
+++ trunk/roundcubemail/program/js/list.js	2009-03-17 19:21:48 UTC (rev 2357)
@@ -104,7 +104,7 @@
 init_row: function(row)
 {
   // make references in internal array and set event handlers
-  if (row && String(row.id).match(/rcmrow([a-z0-9\-_=]+)/i))
+  if (row && String(row.id).match(/rcmrow([a-z0-9\-_=\+\/]+)/i))
   {
     var p = this;
     var uid = RegExp.$1;
@@ -355,7 +355,7 @@
     var rows = this.list.tBodies[0].rows;
 
     for(var i=rows.length-1; i>=0; i--)
-      if(rows[i].id && String(rows[i].id).match(/rcmrow([a-z0-9\-_=]+)/i) && this.rows[RegExp.$1] != null)
+      if(rows[i].id && String(rows[i].id).match(/rcmrow([a-z0-9\-_=\+\/]+)/i) && this.rows[RegExp.$1] != null)
 	return RegExp.$1;
     }
 

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



More information about the Svn mailing list