Fixes image uploades in firefox

This commit is contained in:
Arjun Singh
2012-09-17 15:54:24 -07:00
parent 989d1c05c9
commit aaa4db8d29

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;