Changeset 5785 for trunk/expressoMail1_2


Ignore:
Timestamp:
03/22/12 12:18:12 (12 years ago)
Author:
cristiano
Message:

Ticket #2497 - title do botao anexar arquivos, verificação de mensagem aberta ao fechar expresso

Location:
trunk/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/common_functions.js

    r5782 r5785  
    7575var _beforeunload_ = window.onbeforeunload; 
    7676 
    77 window.onbeforeunload = function() 
    78 { 
    79         return unloadMess(); 
    80 } 
     77window.onbeforeunload = unloadMess; 
    8178 
    8279function unloadMess(){ 
     
    8784        } 
    8885        else { 
    89                 var mess = get_lang("Your message has not been sent and will be discarted."); 
    90                 for (var i = 0; i < BordersArray.length; i++) { 
    91                         var body = Element('body_' + BordersArray[i].sequence); 
    92                         if (body && body.contentWindow && body.contentWindow.document.designMode.toLowerCase() == 'on') { 
    93                                 return mess; 
    94                         } 
    95                 } 
     86            for (var i = 0; i < BordersArray.length; i++)  
     87                    if(BordersArray[i].sequence > 0 && (!isNaN(BordersArray[i].sequence)&&parseInt(BordersArray[i].sequence) == BordersArray[i].sequence) ) 
     88                            return get_lang('There are still editing posts, really want to leave the page')+'?'; 
    9689        } 
    9790} 
  • trunk/expressoMail1_2/setup/phpgw_pt-br.lang

    r5738 r5785  
    644644Your Mailbox is 100% full! You must free more space or will not receive messages.       expressoMail1_2 pt-br   Sua caixa postal está 100% cheia! Libere espaço ou não irá receber mensagens. 
    645645Your mailbox is shared with     expressoMail1_2 pt-br   Sua caixa postal está compartilhada com 
    646 Your message has not been sent and will be discarted.   expressoMail1_2 pt-br   Sua mensagem não foi enviada e será perdida. 
     646There are still editing posts, really want to leave the page    expressoMail1_2 pt-br   Existem mensagens ainda em edição, deseja realmente deixar a página 
    647647Your changes are not saved. What to do? expressoMail1_2 pt-br   Suas alterações não foram salvas. O que deseja fazer? 
    648648Your message to %1 has not been saved or sent. To %2 will be necessary open it again. Discard your message?     expressoMail1_2 pt-br   Sua mensagem para %1 não foi salva ou enviada. Para %2 será preciso abrir novamente. Descartar sua mensagem? 
Note: See TracChangeset for help on using the changeset viewer.