Changeset 6070


Ignore:
Timestamp:
05/02/12 16:17:26 (9 years ago)
Author:
eduardow
Message:

Ticket #2675 - Corecao na acao das teclas de atalho no expressoMail.

File:
1 edited

Legend:

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

    r5975 r6070  
    275275 
    276276shortcut.add("I",function(){print_all();},{'disable_in_input':true}); 
    277 shortcut.add("E",function(e){e.preventDefault();exec_msg_action('forward');},{'disable_in_input':true}); 
    278 shortcut.add("R",function(e){e.preventDefault();exec_msg_action('reply');},{'disable_in_input':true}); 
    279 shortcut.add("T",function(e){ e.preventDefault(); var msg_id = get_msg_id(); if(msg_id) new_message("reply_to_all_with_history",msg_id);},{'disable_in_input':true}); 
    280 shortcut.add("O",function(e){e.preventDefault(); show_head_option();},{'disable_in_input':true}); 
    281 shortcut.add("M",function(e){e.preventDefault(); show_address_full();},{'disable_in_input':true}); 
     277shortcut.add("E",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; exec_msg_action('forward');},{'disable_in_input':true}); 
     278shortcut.add("R",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; exec_msg_action('reply');},{'disable_in_input':true}); 
     279shortcut.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}); 
     280shortcut.add("O",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; show_head_option();},{'disable_in_input':true}); 
     281shortcut.add("M",function(e){ if(e.preventDefault) e.preventDefault(); else event.returnValue = false; show_address_full();},{'disable_in_input':true}); 
    282282 
    283283shortcut.add("Delete",function(){ 
Note: See TracChangeset for help on using the changeset viewer.