Changeset 3143


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

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

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

Legend:

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

    r3068 r3143  
    230230        openTab.toPreserve[ID] = false; 
    231231        openTab.imapUid[ID] = 0; 
     232        delete(openTab.type[ID]); 
    232233 
    233234        if (preferences.auto_save_draft == 1) 
  • branches/2.2/expressoMail1_2/js/draw_api.js

    r3137 r3143  
    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.2/expressoMail1_2/js/main.js

    r3141 r3143  
    868868                } 
    869869        var new_border_ID = draw_new_message(parseInt(border_ID)); 
     870 
     871        if(typeof(openTab.type[new_border_ID]) != "undefined") { 
     872                if(tabTypes[type] == openTab.type[new_border_ID]) { 
     873                        return new_border_ID; 
     874                } else { 
     875                        delete_border(currentTab); 
     876                        new_border_ID = draw_new_message(parseInt(border_ID)); 
     877                } 
     878        } 
     879 
    870880        if (new_border_ID == false) 
    871881        { 
     
    18221832                sendButton.style.visibility="hidden"; 
    18231833 
    1824         if (openTab.imapBox[border_id] && openTab.type[border_id] != 6 && openTab.type[border_id] != 7) //Gets the imap folder 
     1834        if (openTab.imapBox[border_id] && openTab.type[border_id] < 6) //Gets the imap folder 
    18251835                var folder_id = openTab.imapBox[border_id]; 
    18261836        else 
Note: See TracChangeset for help on using the changeset viewer.