- Timestamp:
- 09/01/10 15:50:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/shortcut.js
r3168 r3194 228 228 var selMessageShortcut = ""; 229 229 230 shortcut.add("N",function(){ new_message("new","null"); },{'disable_in_input':true}); 230 shortcut.add("N",function() 231 { 232 // avoids problem related at ticket #1011 233 var search_in_focus = false; 234 var search_win = document.getElementById( 'QuickCatalogSearch_window_QuickCatalogSearch' ); 235 if ( search_win && search_win.style.visibility != 'hidden' ) 236 search_in_focus = true; 237 238 if ( ! search_in_focus ) 239 new_message("new","null"); 240 },{'disable_in_input':true}); 231 241 232 242 shortcut.add("Esc",function(){
Note: See TracChangeset
for help on using the changeset viewer.