Ignore:
Timestamp:
10/11/12 18:14:36 (12 years ago)
Author:
marcosw
Message:

Ticket #3088 - Realização de merge da melhoria do MailArchiver?

File:
1 edited

Legend:

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

    r7392 r7414  
    2020 
    2121var message = "Não Informado"; 
     22 
     23//MAILARCHIVER-01 
     24try{ 
     25   var ArchiveServices = new web_service_mailarchiver_serpro__ArchiveServices(); 
     26   ArchiveServices.url = mail_archive_protocol + "://" + mail_archive_host + ":" + mail_archive_port + "/arcserv/ArchiveServices"; 
     27   ArchiveServices.synchronous = true; 
     28} 
     29catch (e){ 
     30    var ArchiveServices = null; 
     31} 
    2232 
    2333function config_events(pObj, pEvent, pHandler) 
     
    245255        } 
    246256        div_attachment.innerHTML="<iframe style='display:none;width:0;height:0' name='attachment' src='"+url+"'></iframe>"; 
    247 } 
     257        window.onbeforeunload = function(){return unloadMess();} 
     258}  
    248259 
    249260function download_attachments(msg_folder, msg_number, idx_file, msg_part, encoding, new_file_name, show_iframe){ 
     
    666677 
    667678function configureLabels(data){ 
     679    if(get_current_folder().split("_")[0] == "local"){ 
     680        alert("Pastas locais não fornece suporte para marcadores"); 
     681        return true; 
     682    } 
    668683 
    669684        dialogElement = $('.label-configure-win').html(DataLayer.render("../prototype/modules/mail/templates/label_configure.ejs", {})) 
     
    693708 
    694709function configureFollowupflag(){ 
     710 
     711    if(get_current_folder().split("_")[0] == "local"){ 
     712        alert("Pastas locais não fornece suporte para acompanhamento."); 
     713        return true; 
     714    } 
    695715 
    696716        var messages = new Array(); 
Note: See TracChangeset for help on using the changeset viewer.