Changeset 8125 for branches


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

Ticket #3436 - Nao fechamento de aba de visualizacao de mensagem apos seu arquivamento

Location:
branches/2.5/expressoMail1_2/js
Files:
2 edited

Legend:

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

    r8124 r8125  
    241241        td.onclick = function(){alternate_border(ID);resizeWindow()}; 
    242242        td.setAttribute("noWrap","true"); 
    243     td.alt = ' '; 
    244     td.title = borderTitle; 
     243        td.setAttribute("role",get_current_folder()); 
     244        td.title = borderTitle; 
    245245        borderTitle = borderTitle ?  borderTitle : id_value ? get_lang("No Subject") : " "      ; 
    246246        td.value = borderTitle; 
  • branches/2.5/expressoMail1_2/js/draw_api.js

    r8124 r8125  
    57735773} 
    57745774 
     5775function verifyContext(type) {  
     5776    if(type == "unarchive"){  
     5777        expresso_mail_archive.unarchieve($(".menu-sel").attr("role"), null, null);  
     5778    } else {  
     5779        archive_msgs($(".menu-sel").attr("role"),null,null)  
     5780    }  
     5781}  
     5782  
    57755783function draw_footer_box(num_msgs){ 
    57765784        folder = get_current_folder(); 
     
    57985806                ((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>'); 
    57995807 
     5808      
    58005809    //Link arquivar e desarquivar com ação 
    58015810    //MAILARCHIVER 
     
    58035812        if(expresso_mail_archive.enabled){ 
    58045813           if(proxy_mensagens.is_local_folder(current_folder))//Unarchive link 
    5805              span_options.innerHTML += '&nbsp; <span title="'+get_lang("Unarchive")+'" class="message_options" onclick="expresso_mail_archive.unarchieve(\''+folder+'\', null, null);">'+get_lang("Unarchive")+'</span>'; 
     5814             span_options.innerHTML += '&nbsp; <span title="'+get_lang("Unarchive")+'" class="message_options" onclick="verifyContext(\'unarchive\')">'+get_lang("Unarchive")+'</span>'; 
    58065815           else//Archive link                  
    5807              span_options.innerHTML += '&nbsp; <span title="'+get_lang("Archive")+'" class="message_options" onclick="archive_msgs(\''+folder+'\',null,null)">'+get_lang("Archive")+'</span>'; 
     5816             span_options.innerHTML += '&nbsp; <span title="'+get_lang("Archive")+'" class="message_options" onclick="verifyContext(\'archive\')">'+get_lang("Archive")+'</span>'; 
    58085817        } 
    58095818    } 
Note: See TracChangeset for help on using the changeset viewer.