From ce988a0778aee7fb42ce5fc42e2986d562b6ccbb Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 9 Feb 2011 10:33:26 +0000 Subject: Always generate valid DOM identifiers using html_identifier() write original identifier string to rel attribute where possible --- program/js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 3c8502d0e..43be6ae8d 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3781,6 +3781,9 @@ function rcube_webmail() // update a contact record in the list this.update_contact_row = function(cid, cols_arr, newcid) { + cid = String(cid).replace(this.identifier_expr, '_'); + newcid = String(newcid).replace(this.identifier_expr, '_'); + var row; if (this.contact_list.rows[cid] && (row = this.contact_list.rows[cid].obj)) { for (var c=0; c