Ignore:
Timestamp:
07/30/12 16:17:19 (12 years ago)
Author:
cristiano
Message:

Ticket #2987 - Inconsistência excluindo com tela modal aberta - teclas de atalho

File:
1 edited

Legend:

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

    r6707 r6910  
    77shortcut = { 
    88        'all_shortcuts':{},//All the shortcuts are stored in this array 
     9    'disabled': false, 
    910        'add': function(shortcut_combination,callback,opt) { 
    1011                //Provide a set of default options 
     
    3738                                else if(e.srcElement) element=e.srcElement; 
    3839                                if(element.nodeType==3) element=element.parentNode; 
    39  
     40                 
    4041                                if(element.tagName == 'INPUT' || element.tagName == 'TEXTAREA') return; 
    4142                        } 
    42          
     43           
     44            if(shortcut.disabled === true) 
     45                return; 
     46 
     47 
    4348                        //Find Which key is pressed 
    4449                        if (e.keyCode) code = e.keyCode; 
Note: See TracChangeset for help on using the changeset viewer.