Ignore:
Timestamp:
10/10/12 15:18:13 (12 years ago)
Author:
angelo
Message:

Ticket #3159 - Foco duplo de mensagens no Expresso Mail

File:
1 edited

Legend:

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

    r7153 r7406  
    321321                } 
    322322        }else{ 
     323                 
    323324                proxy_mensagens.delete_msgs(openTab.imapBox[currentTab], currentTab.substring(0, selMessageShortcut.indexOf("_r")), 'null'); 
    324325         
     
    407408{ 
    408409    shortcut.add("Up",function(){ 
    409         $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 
    410         if($(".current_selected_shortcut_msg").prev().parents("#tbody_box").length) 
    411             $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").prev().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
    412         $(".current_selected_shortcut_msg").focus(); 
     410        if (currentTab == 0){ 
     411                $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 
     412                if($(".current_selected_shortcut_msg").prev().parents("#tbody_box").length) 
     413                    $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").prev().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
     414                $(".current_selected_shortcut_msg").focus(); 
     415        } 
    413416    },{'disable_in_input':true}); 
    414417 
    415418    shortcut.add("Down",function(){ 
    416         $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 
    417         if($(".current_selected_shortcut_msg").next().parents("#tbody_box").length) 
    418             $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").next().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
    419         $(".current_selected_shortcut_msg").focus(); 
     419        if (currentTab == 0){ 
     420                $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 
     421                if($(".current_selected_shortcut_msg").next().parents("#tbody_box").length) 
     422                    $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").next().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 
     423                $(".current_selected_shortcut_msg").focus(); 
     424        } 
    420425    },{'disable_in_input':true}); 
    421426 
Note: See TracChangeset for help on using the changeset viewer.