Commit db18ed81 by David Ormsbee

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

Fixes image uploades in firefox
parents 989d1c05 aaa4db8d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment