Changeset 7707


Ignore:
Timestamp:
01/07/13 15:06:11 (7 years ago)
Author:
angelo
Message:

Ticket #3265 - Teclas de atalho para encaminhar e responder mensagens no campo Para

File:
1 edited

Legend:

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

    r7534 r7707  
    280280 
    281281shortcut.add("I",function(){print_all();},{'disable_in_input':true}); 
    282 shortcut.add("E",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; exec_msg_action('forward');},{'disable_in_input':true}); 
    283 shortcut.add("R",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; exec_msg_action('reply');},{'disable_in_input':true}); 
    284 shortcut.add("T",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; var msg_id = get_msg_id(); if(msg_id) new_message("reply_to_all_with_history",msg_id);},{'disable_in_input':true}); 
     282shortcut.add("E",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; setTimeout(function(){exec_msg_action('forward');},50);},{'disable_in_input':true}); 
     283shortcut.add("R",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; setTimeout(function(){exec_msg_action('reply');},50);},{'disable_in_input':true}); 
     284shortcut.add("T",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; setTimeout(function(){var msg_id = get_msg_id(); if(msg_id) new_message("reply_to_all_with_history",msg_id);},50);},{'disable_in_input':true}); 
    285285shortcut.add("O",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; show_head_option();},{'disable_in_input':true}); 
    286286shortcut.add("M",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; show_address_full();},{'disable_in_input':true}); 
Note: See TracChangeset for help on using the changeset viewer.