Changeset 6875 for sandbox/2.4.2-expresso2/expressoMail1_2/js/draw_api.js
- Timestamp:
- 07/25/12 16:02:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso2/expressoMail1_2/js/draw_api.js
r6874 r6875 1519 1519 } 1520 1520 1521 if( $("#table_box").find("tr input:checked").length> 1 )1521 if(totalSelected() > 1 ) 1522 1522 return $("<tr><td>"+DataLayer.render('../prototype/modules/mail/templates/draggin_box.ejs', {texto : (totalSelected()+" mensagens selecionadas"), type: "messages"})+"</td></tr>"); 1523 1523 if( $(this).find(".td_msg_subject").text().length > 18 ) … … 1684 1684 1685 1685 $(chk_box_element).click(function(e){ 1686 updateSelectedMsgs($(this).is(':checked'),headers_msgs.msg_number); 1687 $(".selected_shortcut_msg").removeClass("current_selected_shortcut_msg selected_shortcut_msg"); 1688 if(preferences.use_shortcuts == '1') 1689 $(this).parents("tr:first").addClass("current_selected_shortcut_msg selected_shortcut_msg"); 1690 changeBgColor(e,headers_msgs.msg_number); 1686 updateSelectedMsgs($(this).is(':checked'),headers_msgs.msg_number); 1687 $(".selected_shortcut_msg").removeClass("current_selected_shortcut_msg selected_shortcut_msg"); 1688 $(".current_selected_shortcut_msg").removeClass("current_selected_shortcut_msg selected_shortcut_msg"); 1689 if(preferences.use_shortcuts == '1') 1690 $(this).parents("tr:first").addClass("current_selected_shortcut_msg selected_shortcut_msg"); 1691 changeBgColor(e,headers_msgs.msg_number); 1692 $(this).blur(); 1691 1693 }); 1692 1694 … … 4027 4029 var pthis = $(this); 4028 4030 setTimeout(function() { 4029 var str = pthis.val().replace(/[,;\t\n]/gi, ","); 4031 if(pthis.val().split('"') > 1) 4032 var str = pthis.val().replace(/[,;\t]/gi, ","); 4033 else 4034 var str = pthis.val().replace(/[,;\t\n\s]/gi, ","); 4030 4035 str = str.split(","); 4031 4036 $.each(str, function(index, value){ … … 4678 4683 fullFileName : attach_box.find(".att-box-fullfilename").text(), 4679 4684 fileSize : attach_box.find(".att-box-filesize").text(), 4680 OK : true,4681 4685 error : false 4682 4686 };
Note: See TracChangeset
for help on using the changeset viewer.