[Opensrf-commits] r1920 - trunk/src/javascript (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Feb 3 13:54:35 EST 2010


Author: dbs
Date: 2010-02-03 13:54:31 -0500 (Wed, 03 Feb 2010)
New Revision: 1920

Modified:
   trunk/src/javascript/opensrf_xhr.js
Log:
Forward-port r1919 from rel_1_2 to prevent Internet Explorer from making multipart-mixed-replace calls


Modified: trunk/src/javascript/opensrf_xhr.js
===================================================================
--- trunk/src/javascript/opensrf_xhr.js	2010-02-03 18:53:19 UTC (rev 1919)
+++ trunk/src/javascript/opensrf_xhr.js	2010-02-03 18:54:31 UTC (rev 1920)
@@ -51,7 +51,7 @@
 
 	/* 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)



More information about the opensrf-commits mailing list