Changeset 376
- Timestamp:
- 07/28/08 17:00:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/DropDownContacts.js
r320 r376 55 55 tmp = array_contacts[i].split(";"); 56 56 if ( (RegExp_name.test(tmp[0])) || (RegExp_mail.test(tmp[1])) ){ 57 tmp[1] = tmp[1].replace(tmp_mail, tmp_mail.bold()); 58 tmp[0] = tmp[0].replace(tmp_mail, tmp_mail.bold()); 59 match_contacts[match_index] = '"' + tmp[0] + '" <' + tmp[1] + '>'; 60 match_index++; 57 if (tmp[1]) 58 { 59 tmp[1] = tmp[1].replace(tmp_mail, tmp_mail.bold()); 60 tmp[0] = tmp[0].replace(tmp_mail, tmp_mail.bold()); 61 match_contacts[match_index] = '"' + tmp[0] + '" <' + tmp[1] + '>'; 62 match_index++; 63 } 61 64 } 62 65 } … … 83 86 } 84 87 //lines = lines + "<tr><td id=td_DD_"+i+" onClick=\"javascript:hideTip();makeMailList('"+match_contacts[i]+"','"+fld_id+"');document.getElementById('" + fld_id + "').focus();\" onmouseover=\"selectContact("+i+")\">" + match_contacts[i] + "</td></tr>" 85 lines = lines + "<tr><td id=td_DD_"+i+" onMouseDown=\"javascript:hideTip();makeMailList('"+match_cont+"','"+fld_id+"'); document.getElementById('" + fld_id + "').focus();\" onmouseover=\"selectContact("+i+")\">" + match_cont + "</td></tr>"88 lines = lines + "<tr><td id=td_DD_"+i+" onMouseDown=\"javascript:hideTip();makeMailList('"+match_cont+"','"+fld_id+"');setTimeout('document.getElementById(\\'"+fld_id+"\\').focus()',300);\" onmouseover=\"selectContact("+i+")\">" + match_cont + "</td></tr>" 86 89 match_cont = ""; 87 90 }
Note: See TracChangeset
for help on using the changeset viewer.