Changeset 7729 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 01/10/13 15:18:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r7718 r7729 11 11 12 12 13 // tempo do auto save (em milisegundos) 13 // tempo do auto save (em milisegundos) 14 14 // 20000 = 20 segundos 15 15 var autosave_time = 40000; … … 888 888 } 889 889 } 890 var box = Element("tbody_box"); 891 if(box.childNodes.length > 1){ 892 updateBoxBgColor(box.childNodes); 893 } 894 890 895 if(parseInt(preferences.use_shortcuts)) 891 896 select_msg("null","reload_msg","null"); … … 899 904 countNewMessage += data.length; 900 905 901 desktopNotificationAux = desktopNotification.sentNotification("",get_lang("Notification"), countNewMessage > 1 ? get_lang("You have %1 new messages", countNewMessage) + "!" : get_lang("You have 1 new message") + "!"); 906 param = (countNewMessage > 1 ? (get_lang("You have %1 new messages", countNewMessage) + "!") : (get_lang("You have 1 new message") + "!")); 907 desktopNotificationAux = desktopNotification.sentNotification("",get_lang("Notification"), param); 902 908 903 909 if(auxNotification !== 'undefined') … … 966 972 if( data ) 967 973 handler_refresh( data ); 974 968 975 }, 976 async: false, 969 977 beforeSend: function( jqXHR, settings ){ 970 978 connector.showProgressBar(); … … 972 980 complete: function( jqXHR, settings ){ 973 981 connector.hideProgressBar(); 982 974 983 } 975 984 976 985 }); 977 986 987 988 978 989 var msgs = $("#tbody_box tr"); 979 990 //Se a classe abaixo (somente ela) não existir a barra de seleção azul deve voltar ao topo. … … 982 993 msgs.first().addClass("current_selected_shortcut_msg selected_shortcut_msg"); 983 994 } 995 996 984 997 985 998 }
Note: See TracChangeset
for help on using the changeset viewer.