Changeset 7141 for branches


Ignore:
Timestamp:
08/30/12 18:23:00 (12 years ago)
Author:
eduardow
Message:

Ticket #3084 - Problema ao criar uma nova mensagem(destinatario).

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  
    36223622        if($.trim(input_data) != ""){ 
    36233623                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            } 
    36343633        } 
    36353634} 
  • branches/2.4/expressoMail1_2/js/main.js

    r7139 r7141  
    28542854         
    28552855        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("");  
    28562858        var array = content.find(".to-tr").find(".box"); 
    28572859        $.each(array, function(index, value){ 
     
    28622864        if ( content.find('[name="input_cco"]').length){ 
    28632865                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(""); 
    28642868                        var array = content.find(".cco-tr").find(".box"); 
    28652869                        $.each(array, function(index, value){ 
     
    28732877        if(content.find(".cc-tr").css("display") != "none") 
    28742878        { 
     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(""); 
    28752881                var array = content.find(".cc-tr").find(".box"); 
    28762882                $.each(array, function(index, value){ 
Note: See TracChangeset for help on using the changeset viewer.