From 2887ae484ec8f94112c739fb6efad7bc3b9c9c22 Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 17 Mar 2009 19:21:48 +0000 Subject: - Fix incorrect row id parsing for LDAP contacts list (#1485784) git-svn-id: https://svn.roundcube.net/trunk@2357 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program') diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 8d8f9e965..1fe493ca9 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -104,7 +104,7 @@ init: function() 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 @@ get_last_row: function() 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; } -- cgit v1.2.3