Changeset 6910 for trunk/expressoMail1_2/js/shortcut.js
- Timestamp:
- 07/30/12 16:17:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/shortcut.js
r6707 r6910 7 7 shortcut = { 8 8 'all_shortcuts':{},//All the shortcuts are stored in this array 9 'disabled': false, 9 10 'add': function(shortcut_combination,callback,opt) { 10 11 //Provide a set of default options … … 37 38 else if(e.srcElement) element=e.srcElement; 38 39 if(element.nodeType==3) element=element.parentNode; 39 40 40 41 if(element.tagName == 'INPUT' || element.tagName == 'TEXTAREA') return; 41 42 } 42 43 44 if(shortcut.disabled === true) 45 return; 46 47 43 48 //Find Which key is pressed 44 49 if (e.keyCode) code = e.keyCode;
Note: See TracChangeset
for help on using the changeset viewer.