Changeset 5151
- Timestamp:
- 11/04/11 10:03:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/connector.js
r3792 r5151 464 464 script.id = 'uploadscript_'+scriptPath; 465 465 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; 477 467 478 468 head.appendChild(script);
Note: See TracChangeset
for help on using the changeset viewer.