Changeset 7141 for branches/2.4
- Timestamp:
- 08/30/12 18:23:00 (12 years ago)
- Location:
- branches/2.4/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/draw_api.js
r7140 r7141 3622 3622 if($.trim(input_data) != ""){ 3623 3623 var box_data = valid_emails(input_data); 3624 DataLayer.render("../prototype/modules/mail/templates/emailBox.ejs", box_data, function(html){ 3625 var newBox = location.before(html).prev(); 3626 box_actions(newBox); 3627 if((preferences.expressoMail_ldap_identifier_recipient || personal)&& $(newBox).hasClass("invalid-email-box")){ 3628 //$(newBox).find(".loading").css("background-image", "../prototype/modules/mail/img/ajax-loader.gif"); 3629 show_detais(newBox, input_data, personal, shared); 3630 }else{ 3631 $(newBox).find(".box-loading").remove(); 3632 } 3633 }); 3624 var html = DataLayer.render("../prototype/modules/mail/templates/emailBox.ejs", box_data); 3625 var newBox = location.before(html).prev(); 3626 box_actions(newBox); 3627 if((preferences.expressoMail_ldap_identifier_recipient || personal)&& $(newBox).hasClass("invalid-email-box")){ 3628 //$(newBox).find(".loading").css("background-image", "../prototype/modules/mail/img/ajax-loader.gif"); 3629 show_detais(newBox, input_data, personal, shared); 3630 }else{ 3631 $(newBox).find(".box-loading").remove(); 3632 } 3634 3633 } 3635 3634 } -
branches/2.4/expressoMail1_2/js/main.js
r7139 r7141 2854 2854 2855 2855 var stringEmail = ""; 2856 draw_email_box(content.find(".to-tr").find("textarea:first").val(), content.find(".to-tr").find("textarea:first")); 2857 content.find(".to-tr").find("textarea:first").val(""); 2856 2858 var array = content.find(".to-tr").find(".box"); 2857 2859 $.each(array, function(index, value){ … … 2862 2864 if ( content.find('[name="input_cco"]').length){ 2863 2865 if(content.find(".cco-tr").css("display") != "none"){ 2866 draw_email_box(content.find(".cco-tr").find("textarea:first").val(), content.find(".cco-tr").find("textarea:first")); 2867 content.find(".cco-tr").find("textarea:first").val(""); 2864 2868 var array = content.find(".cco-tr").find(".box"); 2865 2869 $.each(array, function(index, value){ … … 2873 2877 if(content.find(".cc-tr").css("display") != "none") 2874 2878 { 2879 draw_email_box(content.find(".cc-tr").find("textarea:first").val(), content.find(".cc-tr").find("textarea:first")); 2880 content.find(".cc-tr").find("textarea:first").val(""); 2875 2881 var array = content.find(".cc-tr").find(".box"); 2876 2882 $.each(array, function(index, value){
Note: See TracChangeset
for help on using the changeset viewer.