Changeset 4944


Ignore:
Timestamp:
08/17/11 16:49:43 (10 years ago)
Author:
rafaelraymundo
Message:

Ticket #2209 - Pesquisar diretamente na caixa de entrada do arquivamento local.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/expressoMail1_2/js/mail_sync.js

    r4546 r4944  
    275275                         
    276276                        var unseen = 0; 
    277                         var flagged = 0; 
    278                         var answered = 0; 
    279277                        var login = msg_info.login; 
    280278                        var original_id = msg_info.msg_number; 
     
    315313                        if(msg_info.Unseen=="U") 
    316314                                unseen = 1; 
    317                         this.dbGears.execute("insert into mail (mail,original_id,original_folder,header,timestamp,uid_usuario,unseen,id_folder,ffrom,subject,fto,cc,body,size,flagged,answered) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",[mail,original_id,original_folder,header,timestamp,login,unseen,id_folder,from,subject,to,cc,body,size,flagged,answered]); 
    318                          
    319                          
     315 
     316                        //parse header 
     317                        var parser = new FlagsParser(msg_header); 
     318                        var flags = parser.parse(); 
     319 
     320                        this.dbGears.execute("insert into mail (mail,original_id,original_folder,header,timestamp,uid_usuario,unseen,id_folder,ffrom,subject,fto,cc,body,size,flagged,answered,recent) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",[mail,original_id,original_folder,header,timestamp,login,unseen,id_folder,from,subject,to,cc,body,size,flags.getFlagged(),flags.getAnswered(),flags.getRecent()]); 
    320321                         
    321322                        //Preenche os anexos. 
Note: See TracChangeset for help on using the changeset viewer.