Changeset 3993


Ignore:
Timestamp:
04/12/11 11:35:20 (8 years ago)
Author:
brunocosta
Message:

Ticket #1602 - Criado link com busca de assuntos semelhantes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/expressoMail1_2/js/draw_api.js

    r3977 r3993  
    915915 
    916916                if ((headers_msgs.Forwarded == 'F')  || (headers_msgs.Draft == 'X' && headers_msgs.Answered == 'A')){ 
    917                         td_element21.innerHTML = "<img src ='templates/"+template+"/images/forwarded.gif' title='"+get_lang('Forwarded')+"'>"; 
     917                        td_element21.onclick=function(){search_emails(headers_msgs.subject.replace(/^(re: ?|fw: ?|enc: ?|res: ?|fwd: ?)*/gi,''),true);}; 
     918                        td_element21.innerHTML = "<img src ='templates/"+template+"/images/forwarded.gif' title='"+get_lang('Forwarded')+"'>"; 
    918919                        headers_msgs.Draft = '' 
    919920                        headers_msgs.Answered = ''; 
     
    922923                else if (headers_msgs.Draft == 'X') 
    923924                        td_element21.innerHTML = "<img src ='templates/"+template+"/images/draft.gif' title='"+get_lang('Draft')+"'>"; 
    924                 else if (headers_msgs.Answered == 'A') 
     925                else if (headers_msgs.Answered == 'A'){ 
     926                        td_element21.onclick=function(){search_emails(headers_msgs.subject.replace(/^(re: ?|fw: ?|enc: ?|res: ?|fwd: ?)*/gi,''),true);}; 
    925927                        td_element21.innerHTML = "<img src ='templates/"+template+"/images/answered.gif' title='"+get_lang('Answered')+"'>"; 
    926                 else 
     928                    }else 
    927929                        td_element21.innerHTML = "&nbsp;&nbsp;&nbsp;"; 
    928930 
Note: See TracChangeset for help on using the changeset viewer.