Changeset 5250
- Timestamp:
- 12/13/11 15:36:34 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/abas.js
r5222 r5250 14 14 function alternate_border(ID) 15 15 { 16 if(isNaN(ID)) 17 select_msg((ID.split("_"))[0]); 16 18 if( document.getElementById("div_menu_c3") != null ) 17 19 { -
trunk/expressoMail1_2/js/shortcut.js
r5134 r5250 306 306 ,{'disable_in_input':true}); 307 307 308 shortcut.add("Ctrl+Up",function(){exec_msg_action('previous');select_msg('null', 'up' , true);},{'disable_in_input':true});309 shortcut.add("Ctrl+Down",function(){exec_msg_action('next');select_msg('null', 'down' , true);},{'disable_in_input':true});308 shortcut.add("Ctrl+Up",function(){exec_msg_action('previous');select_msg('null', 'up');},{'disable_in_input':true}); 309 shortcut.add("Ctrl+Down",function(){exec_msg_action('next');select_msg('null', 'down');},{'disable_in_input':true}); 310 310 311 311 if (is_ie) … … 323 323 else 324 324 shortcut.remove('up'); 325 e.stopPropagation(); 326 e.preventDefault(); 325 327 },{'disable_in_input':false}); 326 328 … … 337 339 else 338 340 shortcut.remove('down'); 341 e.stopPropagation(); 342 e.preventDefault(); 339 343 },{'disable_in_input':false}); 340 344 … … 363 367 else 364 368 { 365 shortcut.add("Up",function(){select_msg('null', 'up' , true);},{'disable_in_input':false});366 shortcut.add("Down",function(){select_msg('null', 'down' , true);},{'disable_in_input':false});369 shortcut.add("Up",function(){select_msg('null', 'up');},{'disable_in_input':false}); 370 shortcut.add("Down",function(){select_msg('null', 'down');},{'disable_in_input':false}); 367 371 368 372 shortcut.add("Shift+down",function(){ … … 485 489 if (msg_number != 'null') 486 490 { 487 unselect_all_msgs(); 488 add_className(Element(msg_number), 'selected_shortcut_msg') 491 if(Element(msg_number)){ 492 unselect_all_msgs(); 493 add_className(Element(msg_number), 'selected_shortcut_msg'); 494 } 489 495 } 490 496 else
Note: See TracChangeset
for help on using the changeset viewer.