Changeset 7885 for sandbox/2.5.1-expresso1/expressoMail1_2/js/abas.js
- Timestamp:
- 02/14/13 16:20:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-expresso1/expressoMail1_2/js/abas.js
r7786 r7885 675 675 function listAttachment(ID) 676 676 { 677 return (typeof(msgAttachments[ID]) == 'undefined') ? '' : JSON.stringify(msgAttachments[ID]); 678 } 679 677 var imap = new Array(); 678 var archiver = new Array(); 679 680 if(typeof msgAttachments[ID] == "undefined"){ 681 return ""; 682 } 683 684 $.each(msgAttachments[ID], function(i, each){ 685 686 if(typeof($.parseJSON(each).folder) == "undefined") return false; 687 688 if($.parseJSON(each).folder.indexOf("local_messages_") != -1){ 689 archiver.push($.parseJSON(each)); 690 } else { 691 imap.push(each); 692 } 693 }); 694 695 context = { 696 "imap" : imap, 697 "archiver" : archiver 698 }; 699 700 return (typeof(msgAttachments[ID]) == 'undefined') ? '' : context; 701 } 702
Note: See TracChangeset
for help on using the changeset viewer.