Changeset 6405 for sandbox/2.4.1-3
- Timestamp:
- 06/04/12 14:34:10 (12 years ago)
- Location:
- sandbox/2.4.1-3/expressoMail1_2/js
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/expressoMail1_2/js/QuickCatalogSearch.js
r6380 r6405 602 602 draw_email_box( 603 603 (data_[parseInt(divs.split("_")[1])-1][ldap_id] ? data_[parseInt(divs.split("_")[1])-1][ldap_id][0] : final_contact) 604 , $(field_).filter("input")604 , content.find(field_).filter("input") 605 605 ); 606 606 }else{ 607 draw_email_box(final_contact, $(field_).filter("input"));607 draw_email_box(final_contact, content.find(field_).filter("input")); 608 608 } 609 609 button.onclick = function(){ -
sandbox/2.4.1-3/expressoMail1_2/js/QuickSearchUser.js
r5477 r6405 59 59 if (openTab.type[currentTab] != 4) 60 60 { 61 Element("msg_number").value = "\""+cn+"\" <"+mail+">";62 61 new_message("new","null"); 62 draw_email_box("\""+cn+"\" <"+mail+">", $("#content_id_"+currentTab).find(".to").filter("input")); 63 63 } 64 64 else 65 65 { 66 var ToField = Element('to_'+currentTab); 67 ToField.value = ToField.value +"\""+cn+"\" <"+mail+">,"; 66 draw_email_box("\""+cn+"\" <"+mail+">", $("#content_id_"+currentTab).find(".to").filter("input")); 68 67 } 69 68 } -
sandbox/2.4.1-3/expressoMail1_2/js/main.js
r6334 r6405 1626 1626 case "reply_without_history": 1627 1627 RichTextEditor.replyController = true; //Seta o editor como modo reply 1628 content.find('[name="input_to"]').val(data.to); 1628 content.find('[name="input_to"]').val(data.to); 1629 array = data.to.split(","); 1630 $.each(array, function(index, value){ 1631 draw_email_box(value, content.find(".to").filter("input")); 1632 }); 1633 1629 1634 title = "Re: " + html_entities(data.subject); 1630 1635 content.find(".subject").val("Re: " + data.subject); … … 1643 1648 content.find(".subject").val("Re: " + data.subject); 1644 1649 content.find('[name="input_to"]').val(data.to); 1650 array = data.to.split(","); 1651 $.each(array, function(index, value){ 1652 draw_email_box(value, content.find(".to").filter("input")); 1653 }); 1645 1654 content.find('[name="msg_reply_from"]').val($("#msg_number_" + border_ID).val()); 1646 1655 … … 1673 1682 else 1674 1683 content.find('[name="input_to"]').val(data.to + ',' + data.to_all); 1675 1684 1685 array = data.to_all.split(","); 1686 $.each(array, function(index, value){ 1687 draw_email_box(value, content.find(".to").filter("input")); 1688 }); 1689 1676 1690 if (data.cc){ 1677 1691 data.cc = new Array(); … … 1689 1703 content.find(".cc-button").toggleClass("expressomail-button-icon-ative"); 1690 1704 content.find(".cc-button").find("span").html("Remover CC"); 1691 content.find('[name="input_cc"]').elastic().unbind('blur'); 1692 content.find('[name="input_cc"]').trigger("update"); 1705 array = data.cc.split(","); 1706 $.each(array, function(index, value){ 1707 draw_email_box(value, content.find(".cc").filter("input")); 1708 }); 1693 1709 } 1694 1710 } … … 1712 1728 else 1713 1729 data.to_all = ""; 1730 1731 array = data.to_all.split(","); 1732 $.each(array, function(index, value){ 1733 draw_email_box(value, content.find(".to").filter("input")); 1734 }); 1735 1714 1736 title = "Re: " + html_entities(data.subject); 1715 1737 … … 1732 1754 content.find(".cc-button").toggleClass("expressomail-button-icon-ative"); 1733 1755 content.find(".cc-button").find("span").html("Remover CC"); 1734 content.find('[name="input_cc"]').elastic().unbind('blur'); 1735 content.find('[name="input_cc"]').trigger("update"); 1756 1757 array = data.cc.split(","); 1758 $.each(array, function(index, value){ 1759 draw_email_box(value, content.find(".cc").filter("input")); 1760 }); 1736 1761 } 1737 1762 } … … 1788 1813 } 1789 1814 content.find('[name="input_to"]').val(_to +','); 1815 draw_email_box(_to, content.find(".to").filter("input")); 1790 1816 Element('msg_number').value = ''; 1791 1817 } … … 1813 1839 } 1814 1840 1841 array = data.to.split(","); 1842 $.each(array, function(index, value){ 1843 draw_email_box(value, content.find(".to").filter("input")); 1844 }); 1845 1815 1846 content.find('[name="input_to"]').val(data.to); 1816 1847 if (data.cc){ … … 1822 1853 content.find(".cc-button").toggleClass("expressomail-button-icon-ative"); 1823 1854 content.find(".cc-button").find("span").html(get_lang('Remove CC')); 1824 content.find('[name="input_cc"]').elastic().unbind('blur'); 1825 content.find('[name="input_cc"]').trigger("update"); 1855 array = data.cc.split(","); 1856 $.each(array, function(index, value){ 1857 draw_email_box(value, content.find(".cc").filter("input")); 1858 }); 1826 1859 } 1827 1860 if (data.cco){ … … 1831 1864 content.find(".cco-button").toggleClass("expressomail-button-icon-ative"); 1832 1865 content.find(".cco-button").find("span").html(get_lang('Remove CCo')); 1833 content.find('[name="input_cco"]').elastic().unbind('blur'); 1834 content.find('[name="input_cco"]').trigger("update"); 1866 array = data.cco.split(","); 1867 $.each(array, function(index, value){ 1868 draw_email_box(value, content.find(".cco").filter("input")); 1869 }); 1835 1870 } 1836 1871 }
Note: See TracChangeset
for help on using the changeset viewer.