Changeset 3142


Ignore:
Timestamp:
08/05/10 16:58:32 (14 years ago)
Author:
niltonneto
Message:

Ticket #1155 - Corrigido comportamento incorreto ao responder ou encaminhar msg.

Location:
branches/2.0/expressoMail1_2/js
Files:
3 edited

Legend:

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

    r2606 r3142  
    227227        openTab.toPreserve[ID] = false; 
    228228        openTab.imapUid[ID] = 0; 
     229        delete(openTab.type[ID]); 
    229230 
    230231        if (preferences.auto_save_draft == 1) 
  • branches/2.0/expressoMail1_2/js/draw_api.js

    r2997 r3142  
    1212        'forward':6, 
    1313        'reply_with_history':7, 
    14         'reply_to_all_with_history':7, 
    15         'reply_without_history':7, 
    16         'reply_to_all_without_history':7, 
     14        'reply_to_all_with_history':8, 
     15        'reply_without_history':9, 
     16        'reply_to_all_without_history':10, 
    1717        'edit':5 
    1818        } 
  • branches/2.0/expressoMail1_2/js/main.js

    r3128 r3142  
    871871function new_message(type, border_ID){ 
    872872        var new_border_ID = draw_new_message(parseInt(border_ID)); 
     873 
     874        if(typeof(openTab.type[new_border_ID]) != "undefined") { 
     875                if(tabTypes[type] == openTab.type[new_border_ID]) { 
     876                        return new_border_ID; 
     877                } else { 
     878                        delete_border(currentTab); 
     879                        new_border_ID = draw_new_message(parseInt(border_ID)); 
     880                } 
     881        } 
     882 
    873883        if (new_border_ID == false) 
    874884                return false;    
     
    17721782                sendButton.style.visibility="hidden"; 
    17731783 
    1774         if (openTab.imapBox[border_id] && openTab.type[border_id] != 6 && openTab.type[border_id] != 7) //Gets the imap folder 
     1784        if (openTab.imapBox[border_id] && openTab.type[border_id] < 6) //Gets the imap folder 
    17751785                var folder_id = openTab.imapBox[border_id]; 
    17761786        else 
Note: See TracChangeset for help on using the changeset viewer.