Changeset 5151 for branches


Ignore:
Timestamp:
11/04/11 10:03:11 (12 years ago)
Author:
alexandrecorreia
Message:

Ticket #2301 - Corrigido o problema de abrir as mensagens no IE a partir do Home do Expresso

File:
1 edited

Legend:

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

    r3792 r5151  
    464464                script.id = 'uploadscript_'+scriptPath; 
    465465                script.type = 'text/javascript'; 
    466                 if(is_ie) { 
    467                         this.oxmlhttp.open("GET", "js/"+scriptPath+".js?"+this.updateVersion, false); 
    468                         this.oxmlhttp.setRequestHeader('Content-Type','text/plain'); 
    469                         this.oxmlhttp.send(null); 
    470                         if(this.oxmlhttp.status != 0 && this.oxmlhttp.status != 200 ||  this.oxmlhttp.status == 0 && this.oxmlhttp.responseText.length == 0) 
    471                                 throw new Error("Error " + this.oxmlhttp.status + "("+this.oxmlhttp.statusText+") when loading script file '"+scriptPath+"'"); 
    472                         script.text = this.oxmlhttp.responseText; 
    473                 } 
    474                 else { 
    475                         script.src =  "js/"+scriptPath+".js?"+this.updateVersion; 
    476                 } 
     466                script.src =  "js/"+scriptPath+".js?"+this.updateVersion; 
    477467 
    478468                head.appendChild(script); 
Note: See TracChangeset for help on using the changeset viewer.