Changeset 7248


Ignore:
Timestamp:
09/19/12 17:24:10 (8 years ago)
Author:
airton
Message:

Ticket #3088 - Melhoria no arquivamento local - busca de mensagem

Location:
sandbox/2.5.0-expresso1/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.0-expresso1/expressoMail1_2/js/mail_archiver.js

    r7234 r7248  
    19041904} 
    19051905 
     1906 
     1907MailArchiver.prototype.searchMessageByFilter = function (query) { 
     1908        ArchiveServices.listMessages(expresso_mail_archive.searchOperationOK, expresso_mail_archive.searchOperationFailure, expresso_mail_archive.session.id, query);         
     1909} 
     1910 
     1911 
     1912 
    19061913MailArchiver.prototype.searchOperationOK = function(returnService){ 
    1907      
    19081914    if(returnService.getReturn().length > 0){ 
    19091915        var msglist = new Array(); 
  • sandbox/2.5.0-expresso1/expressoMail1_2/js/messages_controller.js

    r7227 r7248  
    742742                         
    743743                expresso_mail_archive.Archive("INBOX", "inbox", msgs_number); 
    744         } 
     744                 
     745                var query_data = '<?xml version="1.0" encoding="UTF-8"?><query subject="Convite"><folder id="inbox"/><order asc="date"/></query>'; 
     746                //var xx = expresso_mail_archive.search("inbox", query_data); 
     747                var xx = expresso_mail_archive.searchMessageByFilter(query_data); 
     748        } 
     749         
     750         
    745751         
    746752        /* 
Note: See TracChangeset for help on using the changeset viewer.