Commit aaa4db8d by Arjun Singh

Fixes image uploades in firefox

parent 989d1c05
...@@ -79,7 +79,7 @@ jQuery.extend({ ...@@ -79,7 +79,7 @@ jQuery.extend({
try { try {
if(io.contentWindow){ if(io.contentWindow){
xml.responseText = io.contentWindow.document.body ? 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 ? xml.responseXML = io.contentWindow.document.XMLDocument ?
io.contentWindow.document.XMLDocument : io.contentWindow.document; 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