Changeset 8126 for branches


Ignore:
Timestamp:
04/26/13 19:38:46 (6 years ago)
Author:
douglas
Message:

Ticket #3437 - Problemas com operacoes de mensagens em subpastas locais

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/expressoMail1_2/js/mail_archiver.js

    r7685 r8126  
    12581258        if(folderId == 'local_root') 
    12591259            folderId = ""; 
     1260        var exp_verifyId = RegExp("^messages\_[0-9|a-z]+\-[0-9|a-z|\-]+$");  
     1261        if(exp_verifyId.test(folderId))  
     1262            folderId = folderId.replace("messages_", "");  
    12601263        ArchiveServices.getFolderInfo(expresso_mail_archive.getFolderInfoOperationOK, expresso_mail_archive.getFolderInfoOperationFailure, expresso_mail_archive.session.id, folderId); 
    12611264    } 
     
    13341337        } 
    13351338        var objfolder = new Object(); 
    1336         objfolder.folder = folderid; 
     1339        var exp_verifyId = RegExp("^messages\_[0-9|a-z]+\-[0-9|a-z|\-]+$");  
     1340        if(exp_verifyId.test(folderid))  
     1341            folderid = folderid.replace("messages_", "");  
     1342        objfolder.folder = folderid;  
    13371343        //var testing_data_xml = '<?xml version="1.0" encoding="UTF-8"?><query lowerIndex="0" upperIndex="50"><folder id="'+folderid+'"/><order asc="date"/><order desc="subject"/></query>'; 
    13381344        //var testing_data_json_mapped = '{"query":{"@lowerIndex":"0", "@upperIndex":"50", "folder":[{"@id":"'+folderid+'"}], "order":[{"@asc":"date", "@desc":"subject"}]}}'; 
Note: See TracChangeset for help on using the changeset viewer.