mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[PDFE] fix bug 66160
This commit is contained in:
@ -92,7 +92,7 @@ function downloadPartialy(url, limit, postData, callback) {
|
||||
var callbackCalled = false;
|
||||
var xhr = new XMLHttpRequest();
|
||||
//value of responseText always has the current content received from the server, even if it's incomplete
|
||||
xhr.responseType = "text";
|
||||
// xhr.responseType = "json"; it raises an IE error. bug 66160
|
||||
xhr.overrideMimeType('text/xml; charset=iso-8859-1');
|
||||
xhr.onreadystatechange = function () {
|
||||
if (callbackCalled) {
|
||||
|
||||
Reference in New Issue
Block a user