Ignore:
Timestamp:
08/30/12 17:31:53 (12 years ago)
Author:
gustavo
Message:

Ticket #3084 - Problema ao criar uma nova mensagem (destinatário)

Location:
trunk/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r7134 r7135  
    37763776        if($.trim(input_data) != ""){ 
    37773777                var box_data = valid_emails(input_data); 
    3778                 DataLayer.render("../prototype/modules/mail/templates/emailBox.ejs", box_data, function(html){ 
    3779                         var newBox = location.before(html).prev(); 
    3780                         box_actions(newBox); 
    3781                         if((preferences.expressoMail_ldap_identifier_recipient || personal)&& $(newBox).hasClass("invalid-email-box")){ 
    3782                                 //$(newBox).find(".loading").css("background-image", "../prototype/modules/mail/img/ajax-loader.gif"); 
    3783                                 show_detais(newBox, input_data, personal, shared); 
    3784                         }else{ 
    3785                                 $(newBox).find(".box-loading").remove(); 
    3786                         } 
    3787                 }); 
     3778                var html = DataLayer.render("../prototype/modules/mail/templates/emailBox.ejs", box_data); 
     3779                var newBox = location.before(html).prev(); 
     3780                box_actions(newBox); 
     3781                if((preferences.expressoMail_ldap_identifier_recipient || personal)&& $(newBox).hasClass("invalid-email-box")){ 
     3782                        //$(newBox).find(".loading").css("background-image", "../prototype/modules/mail/img/ajax-loader.gif"); 
     3783                        show_detais(newBox, input_data, personal, shared); 
     3784                }else{ 
     3785                        $(newBox).find(".box-loading").remove(); 
     3786                } 
    37883787        } 
    37893788} 
  • trunk/expressoMail1_2/js/main.js

    r7129 r7135  
    29252925 
    29262926    var stringReply = ""; 
     2927    draw_email_box(content.find(".reply-to-tr").find("textarea:first").val(), content.find(".reply-to-tr").find("textarea:first")); 
     2928    content.find(".reply-to-tr").find("textarea:first").val(""); 
    29272929    var array = content.find(".reply-to-tr").find(".box"); 
    29282930    $.each(array, function(index, value){ 
     
    29332935        var stringEmail = ""; 
    29342936        var stringToEmail = ""; 
     2937        draw_email_box(content.find(".to-tr").find("textarea:first").val(), content.find(".to-tr").find("textarea:first")); 
     2938        content.find(".to-tr").find("textarea:first").val(""); 
    29352939        var array = content.find(".to-tr").find(".box"); 
    29362940        $.each(array, function(index, value){ 
     
    29432947        if ( content.find('[name="input_cco"]').length){ 
    29442948                if(content.find(".cco-tr").css("display") != "none"){ 
     2949                        draw_email_box(content.find(".cco-tr").find("textarea:first").val(), content.find(".cco-tr").find("textarea:first")); 
     2950                        content.find(".cco-tr").find("textarea:first").val(""); 
    29452951                        var array = content.find(".cco-tr").find(".box"); 
    29462952                        $.each(array, function(index, value){ 
     
    29552961        if(content.find(".cc-tr").css("display") != "none") 
    29562962        { 
     2963                draw_email_box(content.find(".cc-tr").find("textarea:first").val(), content.find(".cc-tr").find("textarea:first")); 
     2964                content.find(".cc-tr").find("textarea:first").val(""); 
    29572965                var array = content.find(".cc-tr").find(".box"); 
    29582966                $.each(array, function(index, value){ 
Note: See TracChangeset for help on using the changeset viewer.