Changeset 3146 for branches/2.0


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

Ticket #1084 - Corrigido problema de perda de info ao responder/encaminhar msg.

Location:
branches/2.0/expressoMail1_2
Files:
2 edited

Legend:

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

    r3142 r3146  
    876876                        return new_border_ID; 
    877877                } else { 
    878                         delete_border(currentTab); 
    879                         new_border_ID = draw_new_message(parseInt(border_ID)); 
     878                        var a_types = { 6 : get_lang("Forward"),7 : get_lang("Reply"),  
     879                                        8 : get_lang("Reply to all with history"), 
     880                                        9 : get_lang("Reply without history"), 
     881                                        10: get_lang("Reply to all without history")}; 
     882 
     883                        if(!confirm(get_lang("Your message to %1 has not been saved or sent. "+ 
     884                                                "To %2 will be necessary open it again. Discard your message?", 
     885                                                a_types[openTab.type[new_border_ID]].toUpperCase(),  
     886                                                a_types[tabTypes[type]].toUpperCase()))){ 
     887                                return new_border_ID; 
     888                        } else { 
     889                                delete_border(currentTab); 
     890                                new_border_ID = draw_new_message(parseInt(border_ID)); 
     891                        } 
    880892                } 
    881893        } 
Note: See TracChangeset for help on using the changeset viewer.