Changeset 5891 for trunk/expressoMail1_2
- Timestamp:
- 04/09/12 09:40:27 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r5887 r5891 492 492 493 493 function refresh(alert_new_msg){ 494 495 494 var handler_refresh = function(data){ 496 497 495 if(data['msg_range_end']) 498 496 if(data['msg_range_end'] > 0) … … 614 612 if( data[i].next_msg_number != undefined && data[i].next_msg_number != null ){ 615 613 try { 616 box.insertBefore(new_msg, box.childNodes[data[i].msg_key_position]); 614 box.insertBefore(new_msg, box.childNodes[data[i].msg_key_position]); 617 615 } 618 616 catch (e){ … … 628 626 } 629 627 } 628 629 select_msg("null","reload_msg","null"); 630 630 631 631 if(parseInt(alert_new_msg) && data.new_msgs > 0) -
trunk/expressoMail1_2/js/shortcut.js
r5635 r5891 282 282 shortcut.add("Delete",function(){ 283 283 284 284 285 var selected_shortcut_msgs = ''; 285 286 var tbody_box = Element('tbody_box'); … … 313 314 proxy_mensagens.delete_msgs(current_folder, selected_shortcut_msgs, 'null'); 314 315 } 316 315 317 } 316 318 ,{'disable_in_input':true}); … … 498 500 function select_msg(msg_number, keyboard_action, force_msg_selection) 499 501 { 500 //Select msg, even if the focus isn't the border_id_0 501 //if ( (Element('border_id_0').className != 'menu-sel') && (!force_msg_selection) ) 502 //return; 503 502 /* 503 ** Se caso for limpado toda a caixa de email, 504 ** é adicionado um novo atalho de seleção. 505 ** main.js on function refrash and line 629. 506 */ 507 508 if(keyboard_action == "reload_msg"){ 509 $("#tbody_box tr:first").addClass("selected_shortcut_msg"); 510 } 511 504 512 shift_up_count = 0; 505 513 shift_down_count = 0; … … 637 645 } 638 646 } 639 640 641 642 643
Note: See TracChangeset
for help on using the changeset viewer.