Changeset 3307


Ignore:
Timestamp:
09/29/10 16:59:06 (11 years ago)
Author:
brunocosta
Message:

Ticket #1288 - Implementada verificação da variável msg_source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/local_messages.js

    r3301 r3307  
    10801080        while(rs.isValidRow()) { 
    10811081            mail=connector.unserialize(rs.field(0)); 
    1082             source_tmp=escape(this.get_src(mail.url_export_file)); 
     1082            mail.msg_source?source_tmp = escape(mail.msg_source):source_tmp = escape(this.get_src(mail.url_export_file)); 
     1083//          source_tmp=escape(this.get_src(mail.url_export_file)); 
    10831084            source+="#@#@#@"+source_tmp; 
    10841085            timestamp+="#@#@#@"+rs.field(1); 
     
    10931094        mail=connector.unserialize(rs.field(0)); 
    10941095        var source =""; 
    1095         source = this.get_src(mail.url_export_file); 
     1096//      source = this.get_src(mail.url_export_file); 
     1097        mail.msg_source?source = mail.msg_source:source = this.get_src(mail.url_export_file); 
    10961098        timestamp=rs.field(1); 
    10971099        rs.close(); 
     
    11401142    rs.close(); 
    11411143    this.finalize(); 
    1142     source = this.get_src(tmp.url_export_file); 
     1144    tmp.msg_source?source = tmp.msg_source:source = this.get_src(tmp.url_export_file); 
     1145    //source = this.get_src(tmp.url_export_file); 
    11431146    source = escape(source); 
    11441147    var handler_source = function(data){ 
     
    12131216        mail.msg_source?src = mail.msg_source:src = this.get_src(mail.url_export_file); 
    12141217        subject = rs.field(1); 
    1215         mesgs += msg; 
     1218        mesgs += src; 
    12161219        mesgs += "@@"; 
    12171220        subjects += subject; 
Note: See TracChangeset for help on using the changeset viewer.