Changeset 7406 for trunk/expressoMail1_2/js/shortcut.js
- Timestamp:
- 10/10/12 15:18:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/shortcut.js
r7153 r7406 321 321 } 322 322 }else{ 323 323 324 proxy_mensagens.delete_msgs(openTab.imapBox[currentTab], currentTab.substring(0, selMessageShortcut.indexOf("_r")), 'null'); 324 325 … … 407 408 { 408 409 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 } 413 416 },{'disable_in_input':true}); 414 417 415 418 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 } 420 425 },{'disable_in_input':true}); 421 426
Note: See TracChangeset
for help on using the changeset viewer.