Changeset 5383


Ignore:
Timestamp:
01/16/12 10:23:24 (12 years ago)
Author:
thiago
Message:

Ticket #2438 - O sistema remove o ultimo usuário quando adicionado pelo F9.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/QuickCatalogSearch.js

    r5382 r5383  
    569569        if (emailList[0] != '"' && emailList.indexOf(",") < 0) 
    570570                        emailList = emailList.substr(end_); 
    571         if(emailList.lastIndexOf(",") > 0) 
     571        if(emailList.lastIndexOf(",") > 0){ 
    572572                if(emailList.substr(emailList.length-1, emailList.length) == "," || emailList.substr(emailList.length-2, 1) == ","){ 
    573573                        emailList = emailList.substr(0, emailList.lastIndexOf(",") + 1); 
     
    576576                        final_contact = ","+final_contact; 
    577577                } 
     578        } 
    578579 
    579580                final_contact = final_contact.replace(/\/n/, ""); 
Note: See TracChangeset for help on using the changeset viewer.