Changeset 8127 for branches


Ignore:
Timestamp:
04/26/13 19:42:55 (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/doiMenuData.js

    r8117 r8127  
    157157                } 
    158158                if( current.indexOf("local") == -1){  
    159                     archive = {"name": get_lang("Archive"), "icon": "archive", callback: function(key, opt){ proxy_mensagens.archive_message('inbox', 'get_selected_messages'); }}  
     159                    archive = {"name": get_lang("Archive"), "icon": "archive", callback: function(key, opt){ proxy_mensagens.archive_message(get_current_folder(), 'get_selected_messages'); }}  
    160160                     
    161161                } else {  
    162                     archive = {"name": get_lang("Unarchive"), "icon": "archive", callback: function(key, opt){ proxy_mensagens.unarchive_message('inbox', 'get_selected_messages'); }}  
     162                    archive = {"name": get_lang("Unarchive"), "icon": "archive", callback: function(key, opt){ proxy_mensagens.unarchive_message(get_current_folder(), 'get_selected_messages'); }}  
    163163                } 
    164164                var itensNotLocal = { 
  • branches/2.5/expressoMail1_2/js/draw_api.js

    r8125 r8127  
    57745774 
    57755775function verifyContext(type) {  
     5776    var folderN = $(".menu-sel").attr("role") ? $(".menu-sel").attr("role") : get_current_folder();  
    57765777    if(type == "unarchive"){  
    5777         expresso_mail_archive.unarchieve($(".menu-sel").attr("role"), null, null);  
     5778        expresso_mail_archive.unarchieve(folderN, null, null);  
    57785779    } else {  
    5779         archive_msgs($(".menu-sel").attr("role"),null,null)  
     5780        archive_msgs(folderN,null,null)  
    57805781    }  
    57815782}  
Note: See TracChangeset for help on using the changeset viewer.