Changeset 7487


Ignore:
Timestamp:
11/01/12 09:02:45 (8 years ago)
Author:
antonio
Message:

Ticket #3212 - Corrigido foco duplo na lista de mensagens após clicar em atualizar

File:
1 edited

Legend:

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

    r7486 r7487  
    984984 
    985985                }); 
    986         $("#tbody_box tr:first").focus().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
     986         
     987        var msgs = $("#tbody_box tr"); 
     988        if(!msgs.hasClass("current_selected_shortcut_msg selected_shortcut_msg")) 
     989        { 
     990                msgs.first().focus().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
     991        } 
     992         
    987993} 
    988994 
Note: See TracChangeset for help on using the changeset viewer.