magicxml icon indicating copy to clipboard operation
magicxml copied to clipboard

Copes with responseText getting returned for xml rather than responseXml

Open gilesbradshaw opened this issue 9 years ago • 0 comments

Hi I was using TinyWeb for some reason this returns an xml file as application/xml rather than text/xml

This means response.xhr is null

So I made a little mod whereby if responseXml is null it loads up responseText instead

(works in internet explorer even without this mod but not in chrome + firefox)

gilesbradshaw avatar Feb 24 '16 12:02 gilesbradshaw