diff options
author | alecpl <alec@alec.pl> | 2009-03-17 19:21:48 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-03-17 19:21:48 +0000 |
commit | c8570784e93fadac581235bbc9c92b1f6f66f92c (patch) | |
tree | 53e3592bcbf0690a644014f1aa095cabbfc62883 /program/js/list.js | |
parent | c9a2fa9db0b3cc9edee0b4ee82d02849b5263766 (diff) |
- Fix incorrect row id parsing for LDAP contacts list (#1485784)
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js index 8d8f9e965..1fe493ca9 100644 --- a/program/js/list.js +++ b/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; } |