From: dbs Date: Wed, 3 Feb 2010 18:54:31 +0000 (+0000) Subject: Forward-port r1919 from rel_1_2 to prevent Internet Explorer from making multipart... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f0dcf61ad50566d359394e152f7069fb6f03bba1;p=opensrf%2Fbjwebb.git Forward-port r1919 from rel_1_2 to prevent Internet Explorer from making multipart-mixed-replace calls git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1920 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/javascript/opensrf_xhr.js b/src/javascript/opensrf_xhr.js index f69f4d3..d0d64ba 100644 --- a/src/javascript/opensrf_xhr.js +++ b/src/javascript/opensrf_xhr.js @@ -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)