Changeset 5939


Ignore:
Timestamp:
04/13/12 09:57:09 (12 years ago)
Author:
gustavo
Message:

Ticket #2623 - Ao usar tecla de atalho ele acaba escrevendo o atalho

File:
1 edited

Legend:

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

    r5911 r5939  
    238238var selMessageShortcut = ""; 
    239239 
    240 shortcut.add("N",function() 
     240shortcut.add("N",function(e) 
    241241{ 
    242242        // avoids problem related at ticket #1011 
     243        e.stopPropagation(); 
    243244        var search_in_focus = false; 
    244245        var search_win = document.getElementById( 'QuickCatalogSearch_window_QuickCatalogSearch' ); 
     
    274275 
    275276shortcut.add("I",function(){print_all();},{'disable_in_input':true}); 
    276 shortcut.add("E",function(){exec_msg_action('forward');},{'disable_in_input':true}); 
    277 shortcut.add("R",function(){exec_msg_action('reply');},{'disable_in_input':true}); 
    278 shortcut.add("T",function(){ var msg_id = get_msg_id(); if(msg_id) new_message("reply_to_all_with_history",msg_id);},{'disable_in_input':true}); 
    279 shortcut.add("O",function(){show_head_option();},{'disable_in_input':true}); 
    280 shortcut.add("M",function(){show_address_full();},{'disable_in_input':true}); 
     277shortcut.add("E",function(e){e.preventDefault();exec_msg_action('forward');},{'disable_in_input':true}); 
     278shortcut.add("R",function(e){e.preventDefault();exec_msg_action('reply');},{'disable_in_input':true}); 
     279shortcut.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}); 
     280shortcut.add("O",function(e){e.preventDefault(); show_head_option();},{'disable_in_input':true}); 
     281shortcut.add("M",function(e){e.preventDefault(); show_address_full();},{'disable_in_input':true}); 
    281282 
    282283shortcut.add("Delete",function(){ 
Note: See TracChangeset for help on using the changeset viewer.