- Timestamp:
- 05/07/09 11:32:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/DropDownContacts.js
r486 r804 11 11 var setTimeOutLayer = 0; 12 12 var div_message_scroll = 0; 13 13 var tst_i = 0; 14 14 function search_contacts(key_pressed, fld_id) 15 15 { … … 51 51 var match_contacts = new Array(); 52 52 var match_index = 0; 53 53 54 54 for (var i=0; i<array_contacts.length; i++){ 55 55 tmp = array_contacts[i].split(";"); … … 57 57 if (tmp[1]) 58 58 { 59 tmp[1] = tmp[1].replace(tmp_mail, tmp_mail.bold()); 60 tmp[0] = tmp[0].replace(tmp_mail, tmp_mail.bold()); 59 var _tmp1 = RegExp_mail.exec(tmp[1]); 60 if ( _tmp1 ) 61 tmp[1] = tmp[1].replace(RegExp_mail, _tmp1[0].bold()); 62 var _tmp0 = RegExp_name.exec(tmp[0]); 63 if ( _tmp0 ) 64 tmp[0] = tmp[0].replace(RegExp_name, _tmp0[0].bold()); 61 65 match_contacts[match_index] = '"' + tmp[0] + '" <' + tmp[1] + '>'; 62 66 match_index++;
Note: See TracChangeset
for help on using the changeset viewer.