Changeset 6822 for sandbox/2.4.2-expresso2/expressoMail1_2/js/draw_api.js
- Timestamp:
- 07/19/12 16:34:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso2/expressoMail1_2/js/draw_api.js
r6810 r6822 15 15 allMsgsSelected = false; 16 16 totalFolderMsgs = 0; 17 var jqXHR = new Array(); 18 var idattachbycontent = 0; 17 19 18 20 onceOpenedHeadersMessages = {}; … … 1665 1667 $(chk_box_element).click(function(e){ 1666 1668 updateSelectedMsgs($(this).is(':checked'),headers_msgs.msg_number); 1669 $(".selected_shortcut_msg").removeClass("current_selected_shortcut_msg selected_shortcut_msg"); 1670 $(this).parents("tr:first").addClass("current_selected_shortcut_msg selected_shortcut_msg"); 1667 1671 changeBgColor(e,headers_msgs.msg_number); 1668 1672 }); … … 4569 4573 }, 4570 4574 add: function (e, data) { 4571 var jqXHR;4575 var iterator = idattachbycontent; 4572 4576 if(!maxAttachmentSize || data.files[0].size < maxAttachmentSize || is_ie) { 4573 4577 setTimeout(function() { 4574 4578 $('#attDisposition'+ID).val('attachment'); 4575 jqXHR = data.submit();4579 jqXHR[iterator] = data.submit(); 4576 4580 }, 100); 4577 4581 } … … 4599 4603 } 4600 4604 if(jqXHR){ 4601 jqXHR .abort();4605 jqXHR[iterator].abort(); 4602 4606 } 4603 4607 }); … … 4645 4649 }else 4646 4650 fileUploadMSG.find(' .fileinput-button.new').removeClass('new'); 4651 4652 idattachbycontent++ 4647 4653 }); 4654 4648 4655 }, 4649 4656 done: function(e, data){
Note: See TracChangeset
for help on using the changeset viewer.