Merge pull request #714 from MITx/hotfix/arjun/fix-ff-imageupload

Fixes image uploades in firefox
This commit is contained in:
David Ormsbee
2012-09-17 15:56:09 -07:00

View File

@@ -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;