Ignore:
Timestamp:
04/26/13 09:11:24 (11 years ago)
Author:
thiago
Message:

Ticket #3436 - Problema ao mudar de pasta e clicar em arquivar.

File:
1 edited

Legend:

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

    r8112 r8119  
    58445844} 
    58455845 
     5846function verifyContext(type) { 
     5847    if(type == "unarchive"){ 
     5848        expresso_mail_archive.unarchieve($(".menu-sel").attr("role"), null, null); 
     5849    } else { 
     5850        archive_msgs($(".menu-sel").attr("role"),null,null) 
     5851    } 
     5852} 
     5853 
    58465854function draw_footer_box(num_msgs){ 
    58475855        folder = get_current_folder(); 
     
    58695877                ((expresso_offline)?" ":'<span class="message_options_import"><span ' + change_font_color + ' title="'+get_lang("Import")+'" class="message_options" onclick="import_window()">'+get_lang("Import")+'</span></span>'); 
    58705878 
     5879     
    58715880    //Link arquivar e desarquivar com ação 
    58725881    //MAILARCHIVER 
    58735882    if(preferences.use_local_messages==1){ 
    58745883        if(expresso_mail_archive.enabled){ 
     5884            console.log(2); 
    58755885           if(proxy_mensagens.is_local_folder(current_folder))//Unarchive link 
    5876              span_options.innerHTML += '&nbsp; <span title="'+get_lang("Unarchive")+'" class="message_options" onclick="expresso_mail_archive.unarchieve(\''+folder+'\', null, null);">'+get_lang("Unarchive")+'</span>'; 
     5886             span_options.innerHTML += '&nbsp; <span title="'+get_lang("Unarchive")+'" class="message_options" onclick="verifyContext(\'unarchive\')">'+get_lang("Unarchive")+'</span>'; 
    58775887           else//Archive link                  
    5878              span_options.innerHTML += '&nbsp; <span title="'+get_lang("Archive")+'" class="message_options" onclick="archive_msgs(\''+folder+'\',null,null)">'+get_lang("Archive")+'</span>'; 
     5888             span_options.innerHTML += '&nbsp; <span title="'+get_lang("Archive")+'" class="message_options" onclick="verifyContext(\'archive\')">'+get_lang("Archive")+'</span>'; 
    58795889        } 
    58805890    } 
Note: See TracChangeset for help on using the changeset viewer.