diff --git a/lms/static/js/jquery.ajaxfileupload.js b/lms/static/js/jquery.ajaxfileupload.js index d761c5ae3c..e588d3555a 100644 --- a/lms/static/js/jquery.ajaxfileupload.js +++ b/lms/static/js/jquery.ajaxfileupload.js @@ -79,7 +79,7 @@ jQuery.extend({ try { if(io.contentWindow){ xml.responseText = io.contentWindow.document.body ? - io.contentWindow.document.body.innerText : null; + io.contentWindow.document.body.textContent || io.contentWindow.document.body.innerText : null; xml.responseXML = io.contentWindow.document.XMLDocument ? io.contentWindow.document.XMLDocument : io.contentWindow.document;