[Opensrf-commits] r1919 - branches/rel_1_2/src/javascript (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 3 13:53:23 EST 2010
Author: dbs
Date: 2010-02-03 13:53:19 -0500 (Wed, 03 Feb 2010)
New Revision: 1919
Modified:
branches/rel_1_2/src/javascript/opensrf_xhr.js
Log:
Prevent Internet Explorer from making multipart-mixed-replace calls as well
Modified: branches/rel_1_2/src/javascript/opensrf_xhr.js
===================================================================
--- branches/rel_1_2/src/javascript/opensrf_xhr.js 2010-02-03 15:15:30 UTC (rev 1918)
+++ branches/rel_1_2/src/javascript/opensrf_xhr.js 2010-02-03 18:53:19 UTC (rev 1919)
@@ -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