Changeset 5790


Ignore:
Timestamp:
03/22/12 16:09:24 (12 years ago)
Author:
douglasz
Message:

Ticket #2481 - Método formatMailObject não está concatenando o email.

Location:
trunk/expressoMail1_2/js
Files:
2 edited

Legend:

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

    r4234 r5790  
    2525 
    2626        var card = Element("card_cc"); 
     27        if(email.match(/<([^<]*)>[\s]*$/)) 
     28                email = email.match(/<([^<]*)>[\s]*$/)[1]; 
    2729         
    2830        if(this.td != td){ 
     
    4850        } 
    4951        div_label.innerHTML = text; 
    50         div_label.style.top = findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop; 
    51         div_label.style.left = findPosX(this.td) + 20; 
     52        div_label.style.top = (findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop)+"px"; 
     53        div_label.style.left = (findPosX(this.td) + 20)+"px"; 
    5254        div_label.style.display = ''; 
    53         setTimeout("InfoContact.hide()",10000); 
     55        setTimeout("InfoContact.hide()",1000); 
    5456} 
    5557 
     
    6971        var _this = this; 
    7072        var card = Element("card_cc"); 
    71         card.style.left = findPosX(this.td) + 20; 
     73        card.style.left = (findPosX(this.td) + 20)+"px"; 
    7274        var y = findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop; 
    7375        var w_height = is_ie ? document.body.clientHeight + document.body.scrollTop : window.innerHeight + window.pageYOffset; 
    7476        if(y + 160 > w_height) 
    75                 card.style.top =  y - 160;       
     77                card.style.top =  (y - 160)+"px";        
    7678        else 
    77                 card.style.top = y;              
     79                card.style.top = y+"px";                 
    7880        card.style.display = ''; 
    7981        var cn = data.cn; 
     
    115117 
    116118 
    117         this.timeout_hide = setTimeout("InfoContact.hide()",10000);      
     119        this.timeout_hide = setTimeout("InfoContact.hide()",1000);       
    118120} 
    119121 
  • trunk/expressoMail1_2/js/draw_api.js

    r5767 r5790  
    15821582                { 
    15831583                        td_element3.onmouseover = function () {this.title=headers_msgs.to.email;}; 
     1584                         
    15841585                        if (headers_msgs.Draft == 'X') 
    15851586                                td_element3.innerHTML += "<span style=\"color:red\">("+get_lang("Draft")+") </span>"; 
     
    16061607                        else{ 
    16071608                                var spanSender = document.createElement("SPAN"); 
    1608                                 spanSender.onmouseover = function (event) {this.style.textDecoration = "underline";try {InfoContact.begin(this,headers_msgs.from.email)} catch(e){};}; 
     1609                                spanSender.onmouseover = function (event) {this.style.textDecoration = "underline";try {InfoContact.begin(this,headers_msgs.reply_toaddress)} catch(e){};}; 
    16091610                                spanSender.onmouseout = function (){try {this.style.textDecoration = "none";clearTimeout(InfoContact.timeout);} catch(e){}}; 
    16101611                                folder = special_folders['Sent']; 
Note: See TracChangeset for help on using the changeset viewer.