Changeset 6563
- Timestamp:
- 06/21/12 11:20:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r6550 r6563 94 94 Element('tableDivAppbox').width = '100%'; 95 95 96 /*var save_contacts = function(data){97 contacts = data;98 if (preferences.use_local_messages == 1 && window.google && google.gears)99 if (expresso_local_messages.is_offline_installed())100 expresso_local_messages.capt_url('controller.php?action=$this.db_functions.get_dropdown_contacts_to_cache');101 102 }*/103 96 var save_preferences = function(data){ 104 97 … … 1890 1883 content.find(".subject").val("Re: " + data.subject); 1891 1884 1892 if (data.to.indexOf(Element("user_email").value) > 0 ) 1885 if (data.to.indexOf(Element("user_email").value) > 0 ){ 1886 draw_reply_boxes_by_field("to", data.to_all, content); 1893 1887 content.find('[name="input_to"]').val(data.to_all); 1894 else 1888 }else{ 1889 draw_reply_boxes_by_field("to", data.to + ',' + data.to_all, content); 1895 1890 content.find('[name="input_to"]').val(data.to + ',' + data.to_all); 1896 1897 draw_reply_boxes_by_field("to", data.to_all, content); 1891 } 1898 1892 1899 1893 if (data.cc){ … … 1934 1928 else 1935 1929 data.to_all = ""; 1936 1937 draw_reply_boxes_by_field("to", data.to_all, content);1938 1930 1939 1931 title = "Re: " + html_entities(data.subject); 1940 1932 1941 if (data.to.indexOf(Element("user_email").value) > 0 ) 1933 if (data.to.indexOf(Element("user_email").value) > 0 ){ 1934 draw_reply_boxes_by_field("to", data.to_all, content); 1942 1935 content.find('[name="input_to"]').val(data.to_all); 1943 else 1936 }else{ 1937 draw_reply_boxes_by_field("to", data.to + ',' + data.to_all, content); 1944 1938 content.find('[name="input_to"]').val(data.to + ',' + data.to_all); 1939 } 1940 1945 1941 if (data.cc){ 1946 1942 data.cc = new Array();
Note: See TracChangeset
for help on using the changeset viewer.