Prevent Internet Explorer from making multipart-mixed-replace calls as well
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 3 Feb 2010 18:53:19 +0000 (18:53 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 3 Feb 2010 18:53:19 +0000 (18:53 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/rel_1_2@1919 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/opensrf_xhr.js

index f69f4d3..d0d64ba 100644 (file)
@@ -51,7 +51,7 @@ OpenSRF.XHRequest.prototype.send = function() {
 
        /* Only Firefox supports multipart calls, but Safari / Chrome include
            "Mozilla" in their user agent strings... sigh */
-        if(!navigator.userAgent.match(/mozilla/i) || navigator.userAgent.match(/webkit/i)) {
+        if(!navigator.userAgent.match(/mozilla/i) || navigator.userAgent.match(/webkit/i) || navigator.userAgent.match(/msie/i)) {
             /* standard asynchronous call */
             xreq.onreadystatechange = function() {
                 if(xreq.readyState == 4)