Changeset 5382
- Timestamp:
- 01/16/12 10:19:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/QuickCatalogSearch.js
r5258 r5382 569 569 if (emailList[0] != '"' && emailList.indexOf(",") < 0) 570 570 emailList = emailList.substr(end_); 571 if(emailList.lastIndexOf(",") > 0) 571 if(emailList.lastIndexOf(",") > 0) 572 if(emailList.substr(emailList.length-1, emailList.length) == "," || emailList.substr(emailList.length-2, 1) == ","){ 572 573 emailList = emailList.substr(0, emailList.lastIndexOf(",") + 1); 573 574 } else { 575 emailList = emailList.substr(0, emailList.lastIndexOf("") + 1); 576 final_contact = ","+final_contact; 577 } 578 574 579 final_contact = final_contact.replace(/\/n/, ""); 575 580 new_emailList = emailList + final_contact;
Note: See TracChangeset
for help on using the changeset viewer.