Changeset 7417 for branches/2.4/expressoMail1_2/js/shortcut.js
- Timestamp:
- 10/15/12 10:28:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/shortcut.js
r7228 r7417 323 323 } 324 324 }else{ 325 325 326 proxy_mensagens.delete_msgs(openTab.imapBox[currentTab], currentTab.substring(0, selMessageShortcut.indexOf("_r")), 'null'); 326 327 … … 409 410 { 410 411 shortcut.add("Up",function(){ 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(); 412 if (currentTab == 0){ 413 $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 414 if($(".current_selected_shortcut_msg").prev().parents("#tbody_box").length) 415 $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").prev().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 416 $(".current_selected_shortcut_msg").focus(); 417 } 415 418 },{'disable_in_input':true}); 416 419 417 420 shortcut.add("Down",function(){ 418 $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 419 if($(".current_selected_shortcut_msg").next().parents("#tbody_box").length) 420 $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").next().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 421 $(".current_selected_shortcut_msg").focus(); 421 if (currentTab == 0){ 422 $(".selected_shortcut_msg").removeClass("selected_shortcut_msg"); 423 if($(".current_selected_shortcut_msg").next().parents("#tbody_box").length) 424 $(".current_selected_shortcut_msg").blur().removeClass("current_selected_shortcut_msg").next().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 425 $(".current_selected_shortcut_msg").focus(); 426 } 422 427 },{'disable_in_input':true}); 423 428
Note: See TracChangeset
for help on using the changeset viewer.