Changeset 3144


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

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

Location:
trunk/expressoMail1_2/js/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/base/abas.js

    r3081 r3144  
    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}; 
     
    249249        openTab.toPreserve[ID] = false; 
    250250        openTab.imapUid[ID] = 0; 
     251        delete(openTab.type[ID]); 
    251252 
    252253        if (preferences.auto_save_draft == 1) 
  • trunk/expressoMail1_2/js/base/main.js

    r3131 r3144  
    942942        } 
    943943        var new_border_ID = draw_new_message(parseInt(border_ID)); 
     944         
     945        if(typeof(openTab.type[new_border_ID]) != "undefined") { 
     946                if(tabTypes[type] == openTab.type[new_border_ID]) { 
     947                        return new_border_ID; 
     948                } else { 
     949                        delete_border(currentTab); 
     950                        new_border_ID = draw_new_message(parseInt(border_ID)); 
     951                } 
     952        } 
     953                 
    944954        if (new_border_ID == false){ 
    945955                setTimeout('new_message(\''+type+'\',\''+border_ID+'\');',500); 
     
    19081918                sendButton.style.visibility="hidden"; 
    19091919 
    1910         if (openTab.imapBox[border_id] && openTab.type[border_id] != 6 && openTab.type[border_id] != 7) //Gets the imap folder 
     1920        if (openTab.imapBox[border_id] && openTab.type[border_id] < 6) //Gets the imap folder 
    19111921                var folder_id = openTab.imapBox[border_id]; 
    19121922        else 
Note: See TracChangeset for help on using the changeset viewer.